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 |
My Application is a client server application , but there is one functionality , when we click on one particular icon it launches web browser . When I am recording in QTP , By select approprait web add in also , it not able to record in web page , I am able to record till click on the icon. Please provide me how to over come this type of problem.
An action has both shared and local or associated to it and both have the same object in them. In the test which one will be considered?
how to retrive that the number of spaces are in a string ????
What's Checkpoints for QTP?
What is throw Object?
What are the Application Functions available in QTP?
Anybody explain me, the concept of checkpoint declaration in the QTP mainly for the Objects, Pages, Text and Tables ?
how will u do database testing in qtp? how will u do the same with descriptive programming?
Why divide a test into three action calls?
what is advantage of descripting programming in QTP?
How to use Environment parameterization in QTP? Explain with an example.
Hi, my requirement is to make a query in SQL using QTP. And i have to get the results of that query and i have to use those results for future testing. I created a driver but i dont know the code for using this Driver. please help me by providing the solution for y requorement