In a webtable,a list of values are there,rightnow one
values shows,later random another values shows,but how to
retrieve the random value in webtable.
Answer / kavitapriyacr
If the values changes after each criteria/Click then
1. Get the Total number of columns and rows in the table
after you click/ entering criteria.
2. Fetch the each cell data as:
data=Browser().Page().WebTable().GetCellData(row,column)
| Is This Answer Correct ? | 2 Yes | 0 No |
how did u use automating testing tools in ur job?
when I try to run below script in QTP "totalPages" value is 2. But i am getting error message (Type mismatch: 'totalPages' Line (): "For i=1 to totalPages".) totalPages=Browser("Name:=User").Page("Title:=User").WebElem ent("innertext:=of.*").GetROProperty("InnerText") msgbox totalPages For i=1 to totalPages rnum=Browser("Name:=User").Page("Title:=User").WebTa ble("column names:=User Name;ID;Last Name;First Name").GetRowWithCellText("store4") If rnum>0 Then r=rnum Exit for End If Browser("Name:=User").Page("Title:=User").WebElement ("html tag:=A","x:=471").Click MsgBox "Exit" Next
what is bultin funtaion in QTP &tell me five examples?
Can any one explain me what is the procedure to connect the remote desk by using QTP 9.2 ?
what is spy, and how can u use?
Explain runtime dynamic settings?
w is time parameter
What type of problems one will face with QTP , if too many browsers are opened at a time?
Does quicktest professional (qtp) is unicode compatible?
Can i get a simple example exercise for update run mode for sample flight application......... In qtp when i try to run the test in update mode.. Auotmation> update option is disabled............ Pls let me know ................. Thanks in advance.....
what is On Error Resume Next ?
i need the licence key for QTP V9.5 can anyone help me on getting this?