how to test background color and dynamic images during
runtime
Answers were Sorted based on User's Feedback
Answer / fazlur
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 / sandeep
Msgbox Browser("Google").Page("Google").link("Sign in").Object.currentStyle.color
like wise we can find fontfamily,backgorund,Etc...
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / chanikya reddy
Set ctrlWebEl = Browser("Welcome to Gmail").Page("Welcome to Gmail").WebElement("Welcome to Gmail")
Set objWebEl = ctrlWebEl.Object
sColor = objWebEl.currentStyle.color
'or u can use
sBackgrColor = objWebEl.currentStyle.backgroundColor
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / sri
Hi ,You can test back grond color by using..
Object.background.color
Pls try with this
| Is This Answer Correct ? | 1 Yes | 2 No |
How will you compare keyword and expert view?
Can we test internet application using QTP?
How should i get name of the screen? Ex:There is a "submit" button.If i clicked on the submit button it opens a screen. I want that screen name.How can i get that screen name I dont have any property regarding that screen. If suppose we cliked on the screen , Then QTP captures the screen properties then i can get the screen name by using GETROPROPERTY But i want the screen name without clicking the screen. ("I am using the "settoproperty" for Second screen by using fist screen properties") Please tell me anyone
write script for "dropdown button having how many words? for ex.SELECT CITY is dropdown name.. find out how many cities in that?
What are metrics and matrix?
what is L-trim function will do?
How can we display the names of the buttons in the toolbar of a webpage
DEFECT LIFE CYCLE,WHO PUT THE STATUS AS OPEN
how can we retrieve ten rows from the data table using loop concept?
In my QTP script I have a word in notepad that ends in a question mark, for example... "father?" As part of my script I want to delete the question mark. How do you delete a character in notepad?
In qtp, explain what is qrs file?
Tell about automation object model(Aom) in qtp?