How do you test the different ads displayed in the Inbox
home page of Yahoo.
Once u login Yahoo mail, in inbox page there will a banner,
where different ads are scrolling, how do you test that
using qtp?
Answer Posted / tathagata mukherjee
By Using Descripttive programming you can resolve this
proble.
set img_obj =Description create
img_obj("html tag").value="IMG"
img_obj("class name").value="Image"
img_obj("image type").value="imagelink"
Browser("title:=.*").Page("title:=.*").Image
(img_obj,"index:=*").click
It will the generic code to click any image link
Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What are the different types of recording modes in qtp? Which will be used when?
How can get count of list box?
what is the latest version of QTP? Main difference between 9.2 and 10 version
Hi,All How to create a link in excel sheet using qtp
Tell me one scenario, the complex functionality you have automated in your project?
what is the difference betn QTP 8.0 AND PREVIOUS VERSION
suppose in the middle of the project QTP will not work properly, then what do u do? and ur team?
I used the below code to open QTP through VBscript?But i can unable to Invoke QTP...PLZ help me with the correct code to invoke QTP through VBS with description of the code aswell. Dim qtApp 'As QuickTest.Application 'Declare the Application object variable Dim qtTest 'As QuickTest.Test 'Declare a Test object variable Dim qtResultsOpt 'Declare a Run Results Options object variable Set qtApp = CreateObject("QuickTest.Application") 'Create the Application object qtApp.Launch 'Start QuickTest qtApp.Visible = False 'Make the QuickTest application visible qtApp.Open "C:\form", True 'Open the test in read-only mode 'set run settings for the test Set qtTest = qtApp.Test qtTest.Run 'Run the test 'WScript.StdOut.Write "Status is: " & qtTest.LastRunResults.Status 'Check the results of the test run qtTest.Close 'Close the test qtApp.quit 'Close QuickTest Pro Set qtResultsOpt = Nothing 'Release the Run Results Options object Set qtTest = Nothing 'Release the Test object Set qtApp = Nothing 'Release the Application object
How to test login module with different username and password by using data driven testing in QTP?
How does quicktest professional identifies the object in the application?
You will receive the mail in your outlook from client at night time to go ahead for the execution. Based on the mail you need to trigger the batch run. What is the QTP Code for this?
i am trying to automate yatra.com,in that site, when i go to automate the Leaving from field showing as a WEBEDIT, but when i enter 1 or 2 char, it displaying dropdownlist, i try to use keyboard automation to select the item from that list but it is not possible, can anybody help he. Thans for posting the Answer
How many lines of code in each script of QTP?
How should I click on the right click menu objects When I trying to add the object properties to the OR.It is showing only Window(Window).Not all the objects of the window. Also while recording I found No script. How to solve this>.
What are the methods used in UFT to handle exceptions or run-time errors?