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


Please Help Members By Posting Answers For Below Questions

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.

1587


Which functionalities of QTP used in banking project? pls any say answer?

1446


what function you write to do database testing with the help of qtp?

1359


What phases are involved in testing an application in qtp?

560


How is test case write?

576






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

1253


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

1433


how can i pass a "cript"as a parameter in to a function

1460


How to associate shared object repository to test in qtp?

505


What are benefits of qtp?

583


assume i have few url link how will i dynamically call then using descriptive programming?

1603


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?

565


How does you pass optional arguments in qtp?

565


What is exact meaning of Database Checkpoint in QTP 9.2 and what are the different types of the database check points?

2267


How you can find length of array in qtp?

544