HOW to invoke any recorded script in QTP with out using
RECORD & PLAYBACK CONCEPT?
Answers were Sorted based on User's Feedback
Answer / ashish srivastava
With the combination of AOM(Automation Object Model ) and
Descriptive Programing you can achieve the objective given
in the question
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / suryanand
by using reusable functions and calling them in the program
Is This Answer Correct ? | 1 Yes | 2 No |
Out of 3 recording modes. 1.Standard 2.Analog 3.Low-level, which one is commonly used. As per my knowledge, Analog is used for Graphs , barcoding or DIgital signatures.
hi, i am trying to capture "web element" names in a web page, and i written the code like this,, with Browser("title:=") with .page("") .webelement("htmltag:=...").getroproperty("innertext") end with end with //////////////////////////////////////////////////////////////////////////////////// QTP RETURN ERROR like this: " object's description matches more than one of the objects currently displayed in your application. Add additional properties to the object description in order to uniquely identify the object" ok fine , i need to search another property other than "index" i use all the properties like class,text,innerhtml,innertext,visible=true,x , y,abs x ,abs y...but qtp returns error ..... in this webpage index is difficult to find? how to solve
Suppose there are 10 browsers opened on desktop. I want to close all browsers except one browser in QTP. Can any one give the code for this?
In qtp is it possible to check broken links of a page?
For Regression testing already written test cases are sufficient?
How can i open 5 multiple browser at once through QTP VB script and i want to login with 5 different credentials i already tried with this code but its entering credentials only for first browser and am using datatable to parameterize
I encountered with very strange problem in qtp while writing the script i written the code window"regexpwndclass:=XLMAIN").window"regexpwndtitle:=Open" ).Exit this code was working fine for about 10-15 times i executed the script but after some time qtp started giving the error with the same code the error is "Object doesnt support this method or function window(...).window(..)" then i modified the code with only window"regexpwndtitle:=Open").Exit in place of window"regexpwndclass:=XLMAIN").window"regexpwndtitle:=Open" ).Exit now again its working fine i cannot understand what thing is creating the problem if same code executed successfully in starting for about 10 times then why it is giving the error now can anyone give the reason .
How to swap two numbers by using parameter passing method byref in a fucntion and return the result to outside of the function?
How we can do Batch testing in QTP?
Hi all, can anyone tell me the challenges u faced while using qtp?
In where you are keeping or maintaining shared object repository (file)in your appliction?
How to handle recovery scenario for a application crash.write script for this.