Does we use Classes and methods in realtime..?How wud we
access methods in a class..?Thanq Guys..!
Answers were Sorted based on User's Feedback
Answer / hemakumar.m
Class add
Public sub display()
msgbox "message"
End Sub
End Class
Set a=New add
a.display()
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / shamsher singh
Yes we can use classes and methods in realtime. we can
create classes and methods in classes and linked object with
these classes and use methods.i.e.
Set <Object_name>= createobject(Progid)
| Is This Answer Correct ? | 0 Yes | 0 No |
Explain in brief about the QTP Automation Object Model.
What is Tree view?
What are the enhancements u did after recording ur script?
what is meant by Utility object and utility functions?can u all pls explain these clearly.
General Ques : At What State u start Automating ? means at what stage we start writing QTP scripts ?
suppose we recording a web based project so for that we are using internet explorer after that if we execute that script in netscape then script will execute or not and one more thing is to exeute the script in any browser what to do
I am facing an issue of object identification with the dropdown element of DHTML grid. When I tried to recognize these different dropdown objects, QTP identifies only one object for all the dropdowns. Hence, selection of different data from different dropdowns list is an issue. To overcome this problem, i have used Descriptive Programming technique by creating different object descriptions which have all the other properties same but differ only in one property i.e. ‘X’ location of the element on the screen. Hence, i have created distinct object descriptions that would allow us to select values in different dropdowns. The code is given below. But still I am unable to identify distinct dropdown objects. ‘Object Description for Dropdown Cell Status Set objCellStatus = Description.Create objCellStatus("micclass").value = "WebList" objCellStatus("name").value = "select" objCellStatus("x").value = 219 ------ ‘X’ Axis value for cell status drop down ‘Object Description for Dropdown Sub Segment Set objSubSegment = Description.Create objSubSegment("micclass").value = "WebList" objSubSegment("name").value = "select" objSubSegment("x").value = "319" ------ ‘X’ Axis value for sub segment drop down Please help... This is specific to DTML grid(Drop down object)
In QTP 8.2 there are lot of check points is this same in latest version QTP 9.5 ?
What is difference between Quality centre and Test Director?
hi all, I want to know about the QTP scripts, i have read more books but all areis to be a theory so how can i improve my script skills. if anybody knows about qtp scripts plz guide me and i need a sample scripts.my mail id is karthis4u@gmail.com, 9986667831 If you all have any data send it to akadi111@gmail.com
How vl i prioritize the actions when i have 10 actions A1, A2, A3......A10. I want to run action as follows A1,A5,A6 and A10. How i can do it. Thanks in Advance to u.
There are some links on the page,count and click those links and check the text on the page displayed on clicking the link.write script for this scenario.