if there is a web table of having row and colmns.a button is
placed at 2nd row's 3rd column which is worked for both edit
and delete..how to write script for the button to test both
operation on the web table using desriptive programing..
plz help me on script wheather using getroproperty
Q2)what is the command for taking valiue from a web table in qtp
Answer Posted / ashish srivastava
For Ques 1
Browser().page().webtable().childitem
(2,3,"WebButton",0).Click
For Ques 2
strname=Browser().page().webtable().GetCellData(2,3)
msgbox strname
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Is it possible to refer the same object for referring more than one object that are of different class using the descriptive programming approach? Suppose my code is 'To create the object named as obj Set obj=Description.Create() 'To define the values obj("title").value="IE" obj("type").value="text" obj("html tag").value="INPUT" 'To set the value Browser("IE").Page("Yahoo").WebEdit(obj).Set "xyz" Can I refer the "obj" object for the three objects like Browser,page and webedit objects? If so how?
How the exception handling can be done using quicktest professional (qtp)?
write a script to verify the image path(src property) of the images which are in web pages.
How to create Reusable and Multiple Actions?
Please provide specific examples of advanced/creative usage of QTP, including how impact & benefits for your project
how will you load the test cases in ddt?
Sql questions to find second max salary and how to use joins
.have you ever written compiled module? if yes , tell me about some of the function that you wrote.
terminal services client
What are the challenges u faced in testing with crm domain? How u overcome with?
what is meant by Implicit and explicit requirements?
What is standalone database?
How to read a text file from QC using QTP. I would like to do something like this. But instead read a file from QC and NOT from my local drive. Set fso = CreateObject("Scripting.FileSystemObject") Set InputFile = fso.OpenTextFile("C:\test.txt", ForReading) Thanks
What contains Data Driven Framework document in qtp?
What are output values and why they are used ?