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 |
Give me some scripts for 1). checking webpage links (counting links,opening web pages,counting child elements)
what is the Debug view?
What are the automation metrice in your project?
When QTP object wait time is 10 seconds, and in test script wait time is 5 seconds and in function library wait time is 2 seconds how much time does the wait occur? or which is given priority.
Discuss quicktest professional (qtp) environment?
Have you performed Debugging and how did you?
Explain about business process component? types and usage?
In qtp, how you can exit for loop?
How does quicktest professional identifies the object in the application?
I have 3 add buttons of same properties in my page but i want trigger one of them i required in my recovery scnario manager is qtp recognizes it to recovre d scnario if so how qtp recognizes it
can anyone please tell me what are all the shortcut keys used for qtp9.2? Thanks in advance..i expect ur valuable reply that help us our team???
HI, Based On The Information Below Write A Data Driven test Script Edit Box 1 Should take Value From Num1 Column Edit Box 2 Should take Value From Num2 Column Click On Add Button, Get The Value Of Exp res Column, Get Value From Actual Result Edit Box , Compare Two Values, Write Pass / Fail Value Into Result Column Thanks In Advance... Kavitha Input.Xls Num1 Num2 Exp res Act res Result 10 30 40 40 Pass 50 40 90 90.5 - - - - - - - - - - - - - - - -