Summary Table
| Categories |
Total Count |
| PII |
0 |
| URL |
0 |
| DNS |
0 |
| EKL |
0 |
| IP |
0 |
| PORT |
0 |
| VsID |
0 |
| CF |
0 |
| AI |
0 |
| VPD |
0 |
| PL |
0 |
| Other |
0 |
File Content
require 'rubygems'
require 'selenium-webdriver'
require_relative "../../module/DriverUtility"
require_relative "../../helpers/table"
class Pregnancy_History_List
include DriverUtility
include Table
BACK_BUTTON = "button[ng-click='goBack()']"
def initialize(driver)
@driver = driver
end
def findIndexWithGivenPregnancyNumber(number)
begin
count = getCount
index = -1
for i in 1..count
pregnancyNum = getTextForRowColumn(i, 1)
if pregnancyNum == number then
index = i
break
end
end
rescue Exception => e
return -1
end
return index
end
end