how to capture the run time values of web table.

Answers were Sorted based on User's Feedback



how to capture the run time values of web table...

Answer / praveen goud

WebTable will contain rows and columns(nothing but cells).
If you know from which cell you want to capture the value in
the runtime, by using GetCellData method you can do it.

Syntax:
Browser(Browser).Page(Page).WebTable(WebTable).GetCelldata(x,y)
x--> row number
y--> column number


If you have any doubt, please let me know.

Is This Answer Correct ?    6 Yes 0 No

how to capture the run time values of web table...

Answer / g

Through getroproperties

Is This Answer Correct ?    1 Yes 0 No

how to capture the run time values of web table...

Answer / baskar palani

A web table will contains number of field with it,by using
getroproperty("field name")we can retrive values from web
table.

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More QTP Interview Questions

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

0 Answers  


How can we display the names of the buttons in the toolbar of a webpage

1 Answers  


Anybody wants to learn QTP with realtime implementations and complete framework desiging plz contact to this mail id ciraaj@gmail.com

1 Answers  


.mtr ( modular test repository or mercury test repository) plz give correct answer??

3 Answers  


How do Parameterization and Data-Driving relate to each other in QTP?

0 Answers  






can any one tel ,using simple string a[0]=I a[1]=N a[2]=D like that it go's . . out put i need INDIA help me it's really need full ..

3 Answers   Mind Tree,


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

0 Answers   IBM,


what area in a web application cannot be automated.

1 Answers  


I added 5 edit box objects in OR.i run the script and the first edit box successfully executed.But on next day when i executed same script for second edit box,it gives an error "object not Found". But when i used Highlight in app. object already in OR.So how i will handel this type of error. Hi please inform me the write answer.Its urgent.

1 Answers   TCS,


Explain about Table and DB Checkpoints?

1 Answers   Crea,


Using QTP checkpoint, where do you store your expected Properties of the object which later compares with the actual properties of the object???

4 Answers  


how can i pass parameters into function?

4 Answers   Livetek,


Categories