how to test background color and dynamic images during
runtime
Answers were Sorted based on User's Feedback
Answer / gom
For Web Appln:
Set Search = Browser("name:=.*").Page
("title:=.*").WebElement("innertext:=.*","Index:=1")
Set obj = Search.Object
BgColor = obj.currentStyle.backgroundColor
If BgColor <> "" Then
Msgbox "Pass"
Else
Msgbox "Fail"
End If
Is This Answer Correct ? | 2 Yes | 0 No |
Answer / sreeprasad
It is possible only in web applications only.by using check
points we have to test the back ground colour and dynamic
images.
for eg: Yahoomail page
back ground colour is blue
Is This Answer Correct ? | 1 Yes | 1 No |
Answer / akshar jain
hi sreeprasad can u send s acript for the samea
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / satya
var=browser("gamil").page("gmail").image("tom and
jerry").get ro property("color")
msgbox var
Is This Answer Correct ? | 1 Yes | 2 No |
How the exception handling can be done using QTP
Have you faced any problems with object repository?
Lets say,flipkart website...in search button we have entered category[i.e watches] it displays some items...question is how to test price displayed each product is correct or not through qtp
what area in a web application cannot be automated.
How can we write script for a .net application in QTP? Can we use VB Script for .net application.
how to add a runtime parameter to a data sheet?
Hi I able to record IE object but not able to record mozilla firefox 3 object using QTP 10. i don know wats the problem????
in a web page hoe to check the dynamic links that rechabging with out using regular expressions
Interviwer asked, How many years exper.. on QTP? I said, total 2 yrs exp in manual and QTP. QTP only current project arround 3 months. then interviewer ask , HOW BOLD YOU QTP? What you say?
.how will you load the object during runtime
How can get count of list box?
I have to do testing for XML file using QTP. 1. I was given a sample XML, I had to edit that with my actual data and had to make a new XML-- this part is completed, I did that. 2. Now I have to copy the exact contents of that XML file and have to paste it in a web application as a request message for web appliaction processing, using QTP. So I am unable to copy and paste it in web application, please help me out.