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 |
tell me exact differenceb bw qtp and selenium?(could not tell open soure and licennce? difference in usage and technical difference?
How to export QTP results to an .xls file?
Hi All, I need 5 yrs exp manual and automation testing using QTP sample resume. is there any body having please send me my mail id is bjr@aol.in Tahnks in Advance
Is it possible to call win runner script in qtp?
I am testing a website TheLancet in qtp 9.2 and running a script but its not working.Tell me if m doing anything wrong in the script. If Browser("TheLancet.com - Home Page").Page("TheLancet.com - Home Page").Link("Clinical").exists then msgbox "object exist" Else msgbox"object doesnt exist"
How many test scenarios you have automated? How many time it will take to execute 30-40 scenarios? What SDLC model you are following? How often you will execute your test scripts? Because of some changes, your test scripts failed? When you will update your test scripts? How much time it will take to update? Do you know how to connect database? Do you know the direct method to count no. of records (or) rows present in record set once query is executed? How will you create the connection string? How did you resolve conflicts present in Object Repository? How good you are in VB? How will you work on Excel Application? How will you select Excel sheet? If you want to select 10 sheets, will you create 10 separate objects? Given string is “abcd”. What are the methods you will use to display “dcba”? Drives script – explain the frameworks? How you are updating results for each test? What is start up, configuration, navigation scripts? If you are not able to understand the application (some module), who will teach you? What test cases to be automated? When to be automated? What is the testing process you are following? What life cycle you are following? When you will use Descriptive Programming? Do you have the permission to add objects into shared object repository? (OR) someone will maintain SOR? Do you know how to add objects into shared object repository? How many test cases you have automated? How much time will it take to execute? What is complex in automation? When you feel automation is complex? Tell me one scenario, the complex functionality you have automated in your project? Excel sheet having some datas and some datas present in the application (in table). How will you compare these two datas? Write code to fetch datas from Excel sheet. Rate yourself in SQL? Display the employee name who is getting maximum salary? sal ID Salary name 001 100 002 500 003 300 ID 001 002 003 Ename A B C Have you written any test cases while you are in Automation? Manual Testing also will you do or you will work only in automation?
What is the concept of hooking in QTP?
How to count no of edit boxes on the page?
What is the difference between call to existing action and copy of an action?
Hi..friends can anybody write the script for this question... Am having some 20 nos of links in a web application, i want to click some 5,13 & 17th links. So please....can anybody give the answer....??? -->Hani<--
How good are you in writing VBscript code for your application? Can you completely write VBscrit for your project with out using recording mode in QTP?
In where you are keeping or maintaining shared object repository (file)in your appliction?