There is web page with the webtable,this contains some
data, how do you manipulate the data.
Answers were Sorted based on User's Feedback
Answer / khemlal sinha
there are two ways you can use to Get the Data from webtable
1. Use getcelldata method to get the cell data row and
column.
2. If you want to see difference in expected and actual
result then use Table checkpoint.
If you can specify your question clearly then i answer you
in better way
-Khem
| Is This Answer Correct ? | 7 Yes | 0 No |
Answer / 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 |
How to sendKeys in QTP? Diff b/w sendkeys and device replay? Diff b/w function and Sub? Diff b/w Array and List Different Types of running Keys other than Fast, slow,Normal mode Regular expression for http://newtours.demoaut.com Difference between \w and \W How to generate script button Recording Types Different Types of Actions? Using DP performance degrades, If Yes why? How to close all the opened browsers? Diff b/w SystemUtil.Run and invoke application? If qtp not recognized the combo box How to select values from drop down?
How can i initiate the objects to find uniquely in OR
Hi. GetRoProperty and OUTPUT Value Both are same purpose or not? plz explain in deatil with example?
what is the difference between link and hyper link?
Hi Friends, Im planning to do certifcation in mercury Automation Tool QTP.But I Didnt get any clear details regarding course syllabus, fees, where to approach, and which certification would be useful for the experienced testers? can any one send me the details?
you written some code in qtp for opening google.com browser and entered some text inthe search text box and clicked search button. this is ur script.. before running this script i have already opened two google.com browsers. now am running the script what will happen? script will run or what?? Thanks... Nani
What are "Ordinal Identifiers" and where it is used in QTP. AS FAR AS i KNOW, its is used to identify the object. but i want clarity regarding this.
why qtp supports vbscript? and not for others just like cgi,phython,shell,perl,html and all..
If i entered 2 columns and 4 rows inputs in DDT Like Mango fruit, Banana Fruit, Brinjal Veget, Carrot Veget.. . My Q is How to get the 2nd column value for corresponding 1 column input in 3rd row ie, ( i need to get "veget" in messge box @ run time
can i change the runtime properties of an object ? How can i check if a parameter exists in database ?
Is it possible to run qtp scripts in Test Director(Scripts are uploaded in Test director)???and also how to see the test results in test director???
Hi all , I am new at QTP I want a sample script to check validation messages(For java script or VB script) for login page with for web based application.. Any one can Help. I have to complete it in two days I need urgent help.. Ex. if I want to check mail.yahoo.com 1 > If user doed not exist it display "Username does not exist" 2> if invalid Uname and password then it display" Invalid Uname or pass" 3> Loing Sucssessfully. I want to check this types of application by using data table to give values of username and password.. Thanks