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)

Answer Posted / dinesh1433

'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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you know the location Id of an object if you know its index id?

587


How to get Traceability matrix from TD?

667


How many types of recording facility are available in quicktest professional (qtp)?

601


What are the differences between quicktest professional (qtp) and winrunner?

568


what is the advantages and disadvantages of using functions instead of re usable actions

1423






I want two test two agents login for the flight website. Here is the scenario: I want to go through 1-3 rows for one user login and other user login I want to go though 3-5 rows. How would you set this up in qtp. Thank You

1518


What is different command used in command Prompt while using QTP?

1745


Can anybody let me know how to test the Drag and drop feature of the column in a .net application...eg..i hav to test the drag and drog feature of a table(swftable) in a application..plze help!!

1747


How to use checkpoints in qtp ?

578


What do you to script when objects are removed from application?

610


If you giving priority as p0, as a developer if I give priority as p2, What happens In user defined function ?

580


An object is non standard object, i mapped it to standard object, eventhogh on mapping to standard object i cannot use the methods available on the standard object with the mapped object. How i can use those standard object methods with these mapped object. (((Note : dont tell that we can use virtual object as virtual object is to map nonstandard obj to standard obj)))

1581


How can I change object description or check point values in qtp?

552


why you have standardized functions? plzzz guys with real time exp. do answer

1433


Can U Explain about QTP tool from older version to latest version also its differences?

1512