You have a WebTable in Web application. When you Record a
Scenario using QTP, WebTable didn't recognized and also
Repository is not having Webtable information. In this case
How to find RowCount and Coloumn Count?
Answers were Sorted based on User's Feedback
Answer / lakshmi
As per my knowlege, we can solve this by using Descriptive
Programing.Based on your question, we can't record webtable
and this object information is not available in Object
Repositiory but we can get the properties and their values
by using object spy. so in this case we can solve this by
using descriptive programing.
Function Web_Table(ProName,EProVal)
Set BP=Browser("Micclass:=Browser").Page("Micclass:=Page")
Set Desc= Descriptin.Create
Desc("Miclass").Value="WebTable"
Set Objs =BP.ChildObjects(Desc)
For i=0 to Objs.count-1
ProVal=Objs(i).GetROproperty(ProName)
If ProVal=EProVal then
Msgbox Objs(i).GetRowcount
Exit for
End if
Next
End Function.
Call Web_Table "name","WebTable_X"
I hope this will work to get the row count of a webtable.
Please let me know if you have answers.
Thx
| Is This Answer Correct ? | 7 Yes | 0 No |
Hi, Can anyone please tell me how to connect the QC with QTP using QTP script? Thanks in advance
What is the difference between Keyword Driven test and Data Driven test?
I want some banking domain projects where can i get this projects ( anybody can help me plz)
How many test scripts are prapare in ur project(HeathCare Insurance).
How to check the URL using Automation tool QTP
Where we write the FUNCTIONS, in Expert view (or) in any textfiles like Notepad and save it in Library functions folder? How to cal that functions to our script? How to save that functions to Function generator?
For QTP Test Engineer, What is his contribution to the Project? Means, As as automation test engineer what is his role in the current project?
What does it mean when a check point is in red color? What do you do?
How to do excception handling ( error handling ) in QTP
6 Answers Institute for Medical Education,
I want to run my qtp scipt on the system where qtp is not installed .I don't want to install qtp but i want that system should use the qtp from another system in lan just the qtp instance should be launched on that system without having qtp installed on it .I probably know the solution that it will be solved through RMI but how to get this problem solved plz help i anyone know the answer
How to identify the child window. In my case while recording, When i open new window and give checkpoint for some control and when i run that script QTP give error like" can not identify the object" Is there any method or solution to handle child window issue Note: In my apllication i have to check child window of child window also ( multiple windows open )
What is the BPT(bussiness process testing ).and what is the main difference between BPT and QTP
3 Answers EDS, GL Noble Denton, IIST,