There is web page with the webtable,this contains some
data, how do you manipulate the data.
Answer Posted / chanti
we have two methods to get the data from webtable
1)getrowwithcelltext(we can get the rownum )
syntax:- Browser("micclass:=Browser").page
("micclass:=Page").WebTable("micclass:=WebTable","html
tag:=Table").getrowwithcelltext("text")
2)getcelldata
syntax:- Browser("micclass:=Browser").page
("micclass:=Page").WebTable("micclass:=WebTable","html
tag:=Table").getcelldata(rownum,colnum)
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
I am a newbie to QTP / Automation testing. I want to develop a script that creates a data file automatically with proper headings using VBScript in QTP.
Which functionalities of QTP used in banking project? pls any say answer?
what function you write to do database testing with the help of qtp?
What phases are involved in testing an application in qtp?
How is test case write?
Functions call by reference and call by value. i want the diff b/n these 2 and how will be the script for this?in which situation we use these 2..?pls explain me clearly
Hi All, issue is related to handling pop up script generated in IE, and run on mozilla. In App Under Test, when we get the alert pop ups, we just click ok button. if we need to run the same code on mozilla it will not identify . so we will check browser if browser(*).dialog(IE object).exits browser(*).dialog(IE object).winbutton(OK).click else 'by default mozilla browser(*).dialog(mozilla object).page(*).webbutton(OK).CLICK END IF But my qustion is. Do we write the above piece of code where ever we get such kind of pop ups from the application like alert pop up, confirmation pop up.... OR do we have any other alternative way to do this by using any functions in Recovery Scebarios? If Any of u know idea please do help me in this regard. or send answer to kravimb@gmail.com
how can i pass a "cript"as a parameter in to a function
How to associate shared object repository to test in qtp?
What are benefits of qtp?
assume i have few url link how will i dynamically call then using descriptive programming?
How to do the scripting. Is there any inbuilt functions in qtp as in qtp-s. What is the difference between them? How to handle script issues?
How does you pass optional arguments in qtp?
What is exact meaning of Database Checkpoint in QTP 9.2 and what are the different types of the database check points?
How you can find length of array in qtp?