How 2check the color of the text in the textfield .
say suppose the text entered in the textfield object is
appearing in red. so i want to check whether the text is in
red color or not.
It could be great help for me if any one solve's my issue.
plz...help
Answers were Sorted based on User's Feedback
Only specific Environment objects have color property or
backcolor property of forecolor property..Tell me what is
object type of textfiled like winedit or webedit or vbedit
or swfedit....then i will tell whether u r able to check
that color property of that particular object?i just want
what is nativeclass property of that text field.?
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / suresh
can you tell for winedit or webedit or vbedit objects?
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / sarkar
??????????
i also faced the same question.i too need the answer...
i need it for winedit/winbutton.....
please tell me the answer
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / adnan
You can use an objects currentstyle to view the properties
of the object such as colour, font, font size etc.
| Is This Answer Correct ? | 0 Yes | 0 No |
3.How to record a word doc using qtp i.e open a word doc,type something and save the doc can someone send me the code.
How many type of status messages are there ..explain?
How many lines of code in each script of QTP?
write a script to verify the image path(src property) of the images which are in web pages.(do it by Descriptive method by creating a description object)
How to export data in excelsheet to qtp without using datatable.
Can we set a timeout for the msgbox.I want the msgbox to disappear after 2 seconds during the script execution without clicking on the OK button manually.
Where can I find and view run-time data table?
With help of object repository,we can able to write the descriptive program manually?
Will QTP Support Japanese Language?
3 Answers Cap Gemini, Infosys,
What is our exact stage involvement with QTP?
Is QTP supports Unix. If yes, then how the test automation is done?
I have a list box which contains duplicate values e.g. A,A,A,B,B,B,C,C,C.Now write a code in qtp to test the list box . Scenario #1 : I have to check whether any values are there? Scenario #2 : If duplicate values are there,then how many time it is getting duplicated? Svenario #3 : how can I test presence of items in list box ommiting duplicate values?