-
How would you click on a link in QTP?
note: properties are not known in a Webtable? Can someone clearly explain this?
-
GetTextLocation method is not working properly
I am searching a word "DR" withing a Winobjetc by using the below given code;Window("Job Console").ActivatestrFind=Window("Job Console").WinObject("WindowsForms10.Window.8.app.0.").GetTextLocation("DR",l,t,r,b)If strFind=True Then msgbox "Coordinates are:"& l & "," & t & "," & r & "," & b Window("Job Console").WinObject("WindowsForms10.Window.8.app.0.").Click (l+r)/2,(t+b)/2End IfFor search word "DR"...
-
QTP 4 Web Objects
Name 4 web objects used in QTP
-
Recognize JAVA Objects
How will you recognize JAVA objects?
-
Control Test Iteration
How will you control iteration of Test?
-
QTP Sync
Explain about Sync with an example
-
Automated Test Cases
What type of test cases could be automated?
-
Report Defects to the Developer
In how many way we can report defects to the deveploer?
-
Is it possible to change the extension of Shared object repository
Normally, the extension of the shared object repository is .tsr.Is it possible to chang the extension of the shared object repository.
-
VBScript code for Scrolling
can any tell me what is the script for scrolling on any browser from top to bottom and viceversa using VBscript?
-
Parametrize values from an excel using qtp script
Hi,I want to Parametrize the values from an Excel sheet using Quick test professional scripts. but without recording i need to generate the script.can you please help me.
-
QTP not capturing the page for web application
Hi
Am using qtp 9.2 version.window applications are working fine,but for web applications qtp is not capturing the page when we click the (add objects to local icon) and the objects are not getting added in object repository.Am using IE9 and OS is windows 7.I don't know if some settings are wrong in qtp or in OS.Can someone help me to solve this issue?Thanks in advance. -
Update object property (Name - with regular expression) in QTP object repository
I have to update a property of the object in the OR and enable regular expression for the same property using a script. I have updated the property value but no idea how to enable regular expression for the same.
It would be great if any suggestion or solution.
-
How can I use Childobjects in QTP for Identification of WebElements
I wrote this code:
Set odesc = Description.Create()
odesc.Value("Class name")="WebElement"
odesc.Value("innertext")= JOB JOB is name of Parameter with STRING Value-User defined params.
ex.JOB = "Officemanager".
Set obj =Browser().Page().Childobjects(odesc)
Set obj_number = obj.count
But When I write this code:
obj.GetROProperty("xsx").click... -
BPT framework
how to drag the QTP code(Actions) to QC BPT components
-
QTP question - Nested Action
I am very new to QTP: My question is about Nested Action, if you have a parent-child action, and the parent action is not run, then the child action will not run, is this correct??? also if there is an error in the parent action, will the child action run?
-
Automate Audio app using QTP
Hi, can any one tell me how to automate computerized generated audio in QTP.
While automating QTP is not recognizing audio action. -
How to generate Systemutil.run command automatically while recording?
I have QTP 9.2(Mercury) when i record a test the scripts are generated but the very first line (i.e)systemutil.run is not generated and while running the test i get the message as cannot find all programs object parent.
-
QTP Batch file testing
I would like to know about batch file testing...can anybody explain me how to create .bat file and run set of tests.
-
Application throwing error while running the script
I am fresher in QTP. Till now I have faced only the error thrown by QTP. What needs to be done when application throws an error?? How to handle it through QTP??
QTP Interview Questions
Ans