We have a dynamic webtable where rows keep on adding.I have to click on particular row where the status changes to Update or Save.How do you click on Status(either it can be Update or save)
Answers were Sorted based on User's Feedback
rw=browser("Browser").Page("Page").WebTable("Table 1").RowCount
For i=1 to rw
a=browser("Browser").Page("Page").WebTable("Table 1").GetCellData(i,6)
If a="Hello" Then
Set b=browser("Browser").Page("Page").WebTable("Table 1").ChildItem(i,6,"webbutton",0)
b.click
End If
Next
| Is This Answer Correct ? | 1 Yes | 0 No |
'Get Column number of Status from table eg: it is 5
intColNumber=5
set objTable=Browser("index:=0").page("index:=0").Webtable("index:=0")
intRowNumber=objTable.getRowWithCellText("Update") ' i have taken example of update
set objChildObject=objTable.ChildItem(intRowNumber,intColNumber,"WebElement",0)
objChildObject.click
| Is This Answer Correct ? | 0 Yes | 1 No |
how to change the properties of object during run time . plz give the code using flight reservation
Hi, I'm a beginner in QTP and planning of a certification in QTP, but have no idea about it :P. Could anyone please tell me what certifications that a QTP- beginner can take? What is the fees and the syllabus for the certification? Please reply soon. Thanks Vidhya
There is one parent browser and 'n' number of child browsers on desktop. Write a code to close all the child browsers but parent browser should not be closed.
Is it possible to merge two object repository files in qtp?
how to create flat file datasubmission in qtp
What is keyword view in qtp?
How will you handle java tree in qtp?
can u explain relative path architecture framework in qtp?
1.In VB Script 100 lines Script. How can check the Syntax errors? 2. Write a VB Script for X = India/Srilanka/Australia/England/South Africa.I need the Output Country wise? [ 1st Msgbox India , 2nd Msgbox Srilanka] ---- 3. How can Choose these test cases to be automated?
wht is Driver in Integration testing. Anubody can answers it
Will QTP Support Visual Foxpro Applications? If yes please tell me whether I need to install any additional addins for that?
what testing activities u may want to automate?