Contributions
Html table contains particular string but find method fails to find it
HTML table contains "2455/00004205/000/00" but else condition is executed. if Sys.Browser("iexplore").Page("http://10.105.63.21/PolicyOnline/Products/Portal/MarineCargo/frmMarinePortal_Menu.aspx").Form("PortalWebMenu").Table("Table3").Cell(0, 0).Panel("MyDiv").Frame("MyFrame").Form("frmPolicyInfo").Table(0).Cell(2, 0).Table(0).Cell(0, 0).Table("dgPolicyDtls").Find("2455/00004205/000/00", "contentText", 1000).exists =true then Log.Message "Exists" Else Log.Message "Please enter valid policy no" End If1.1KViews0likes1CommentWant to wait until web page page get loaded. Do not want Auto Time out. What is the Method?
I am automating a Web page. Currently there is some performance issue and due to which my script got fails. I have put page wait on it but eventhough it fails. What is the reliable method so that my script waits until object appears with out auto timeout1.6KViews0likes1CommentObject Id Required Error message displayed.
I have written code inGeneralEvents_OnStartTest(Sender) for excel app. I have declared objects and verified name of Object and everything are correct. But still I am getting error message Dim App, FileName,WorkBook,PrivateCar Sub GeneralEvents_OnStartTest(Sender) Set App = Sys.OleObject("Excel.Application") FileName = "C:\TC_Test Data Sheet\Product.xlsx" Set WorkBook = App.Workbooks.Open(FileName) Set PrivateCar = WorkBook.Sheets("Private_Car") End Sub On running, error message displayed as Object Id "PrivateCar" Required. UserId =PrivateCar.Cells(3,1) Please help on the same.2KViews0likes3Comments- 1.2KViews0likes0Comments
How to convert date of any format to specified format
Function written doen't give unique output when running in different pc's due to different date format in different PC's. dat = aqConvert.DateTimeToFormatStr(aqDateTime.Today, "%d%m%Y%H%S") Tim = right(aqConvert.DateTimeToStr(time),8) ChoCheqNo=Left((replace(Tim,":","")+dat),14)Solved2.3KViews0likes2Comments