A web table is having 3 columns(name, salary and checkbox) in qtp
How to select a checkbox based on the highest salary of an employee in a webtable.
Answer Posted / cnu_thatavarthi
First We need to get the highest salary from the column and store the row number in Variable(intRow)
set value = Browser().page().webtable().childItem(intRow,column,"Checkbox",0)
value.Set "ON"
set value =Nothing
| Is This Answer Correct ? | 1 Yes | 3 No |
Post New Answer View All Answers
How to data driven test for Win objects in QTP ?
is there any addin for remedy user application
why you have standardized functions? plzzz guys with real time exp. do answer
How did you resolve conflicts present in Object Repository?
hi i have 4 yrs exp in manual and automation testing using QTP i need sample resumes plz can u send this mail id pbre1980@gmail.com
Can an action have 2 shared object repositories associated with them? In that case, if two of them contain the same object, which one will be considered?
How to execute a winrunner script in quicktest professional (qtp)?
How to customize qtp?
What is the syntax to call one script from another?
Does QTP have any limitations?Can it work with all kinds of programming languages like java,springs,ajax ,hybernet?Also does it work well with windows 7.What are its other limitations
what are the utilities and drivers
By using QTP can we record any log files written by the application which is in execution?
Can anyone pls tell me in realtime (descriptive programming) how will the properties of the object be given to the test team. R they given in an excel sheet and is the same sheet also given to the development team and by whom is this given? Thanks a lot.
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
can test automation improve test effectiveness?