-
-
Webtable and Image
Hi,
I have to perform click on 6 “+” icons on 6 tabs having same alt property and file name and I use INDEX also but I wont help me , so any good idea how to perform click on these 6 tabs,Also Im using below script for these.
Browser(“”).Page(“”).webtable(“innertext”).Image(“alt:=Select to show information”).click
Browser(“”).Page(“”).webtable(“innertext”).Image(“alt:=Select... -
-
How to reduce the QTP Test Script Execution time?
If the scripts runs for 15 mins, how can we effectively reduce the same test scripts to run in 10 mins time? what are factors will you be consider to reduce the time?
-
What are Coding standards, will you follow while writing QTP scripts?
1. Variable Naming Convention
2. Function name should be related to Function
3. Since we are automating manual test case to QTP scripts, So scripts should be Manual Test scripts name in QTP
4.Each Action, Function, Scripts should have
Created Date
Created By
Purpose
Modified
-
How to split the line and capture the line in text file using v script in qtp?
I am facing the problem while working with File system object.
Ex: I have a paragraph in a text file like in given below
HTML normally has many webtable and we can extract a lot of information using webtable methods in QTP.In this post we will discuss various methods by which we can used for webtable object. HyperLink and click the link and the password is 1234 to get the... -
-
How do you identify object Attribute type in QTP
object is changing Attribute type during run time . how can we identify object Attribute type in QTP
-
-
Click Dynamically Changing Web Element
I need to click on OK button (QTP - Web element) in a popup. There are many "OK" Buttons with all same properties but with different Index. The index keeps on changing everyday & my scripts fails
How do I click on OK without using Index. There is no other property which is unique for OK in different popups through out my App
Thanks
Milind -
Property name of the field in QTP
By Click the WEDBUTTON we will get the WEBEDIT window at the same place of webbutton then how you get the property of that edit object and what is that property.
For Example Enter User name and click on Submit button it turns as text box and asking the age of the user, now tell me the property name of text box and how it will be -
How to Use Service Virtualization with UFT 12.02
What is the main benefit virtualization in HP unified functional testing? How to use Service Virtualization in UFT ? Please, I need to know the main steps in the recommended order.
-
To Add the runtime property of an object into the Excel Sheet
The properties of the AUT is changing as per the data given by user.
for e.g the data is :(Qo_Quote_JFM16")
then the properties become :Browser(Qo_Quote_JFM16").Page("Qo_Quote_JFM16").....
So I want to add the unique properties of the objects depending on my data into the Excel sheet (@ runtime).
And then depending on that added property I can perform the actions. To me it seems... -
Get numbers inside all webelements in webtable and sort them
You have a web table having 3 rows and 3 columns. Inside web table all are web elements and 9 numbers(3,1,9,4,7,2,6,5,8) were there inside these web elements. Retrieve all these 9 numbers and sort them.
I have written this below code please check once and let me know anything wrong and if any better solutions for this.
set wb=browser().page().webtable()
rc=wb.rowcounnt -
Multiple Browser Tabs Testing
I have opened browser with 5 tabs, and the tabs should be change dynamically, Ii need to close the 3rd tab. How will you write a code for it?
-
Web Table Buttons Verification
In one page in web table so many buttons are present, If button not exists in current page need click "Next" button and if expected buttons exists need to check the checkbox. Answer this
-
-
-
-
QTP Interview Questions
Ans