in qtp 3 sheets is there in data table like global, action1,
action2. I want to check the rows and columns in action2.
how can check using script?
Answers were Sorted based on User's Feedback
Answer / prasad reddy
Hi you can check the values by mentioning the sheet name
and column name
EX:Datatable.Value("ColName","SheetName").
Thanks,
Prasad
| Is This Answer Correct ? | 9 Yes | 3 No |
Answer / kashinath hajare
Please check the following to check the rows and columns in
action2 or sheet2.
iTotalRowCount=DataTable.GetSheet("Sheet2").GetRowCount
For iCounter=1 to iTotalRowCount
DataTable.GetSheet("Sheet2").SetCurrentRow iCounter
value1=trim(DataTable.Value("value1","Sheet2"))
value2=trim(DataTable.Value("value2", "Sheet2"))
Next
| Is This Answer Correct ? | 5 Yes | 0 No |
How to get align property of the link on web page?
We need to verify the user name & password in for the user validation. But we don't want to use the parameterization/ loop for user name and password. What is the way in scripting so that user & password will generate automatically.
Which functionalities of QTP used in banking project?
how to parameterise a test with data base table or excel sheet?
How do you handle XML exceptions in QTP (Here it is Exception, not the checkpoint)
What are Child Objects?
How to convert non-reusable action into reusable action in QTP?(i know by default QTP will take it as a non-reuable action )(Chandana) plz urgent?
How to open a new test using quicktest professional?
Explain different types of checkpoints?
Does quicktest professional is unicode compatible?
Can we test the Word Document using QTP Tool? We should test the page size,page set up, paragraph indentation and spacing, font size of the the character int the page.
Hi, Can anyone write the following qtp script...please its urgent ·Navigate to Google in a new IE instance ·Search for the following word "Gap, Inc." ·Iterate thought the first 10 pages of google ·On each page collect the following ·The "blue" page title ·The "green" url ·Output all the data into a file named "test_output.txt" ·Format "Title – URL"