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 |
How can I change object description or check point values in qtp?
For which type of project the iterative model is suitable?
How do we connect QC by using QTP?
What is descriptive Programming in qtp.
What scripting language is QTP of?
How to test background color and dynamic images which are moving during runtime?
if Object repository contain x and y properties. we do not know whether they are mandatory or assistive properties. While executing the script qtp will use both the properties or only sufficient properties to identify the object. It means it use OR (or) AND
What is keyword view?
How to parameterize a text field and the same field as combo field on next page. Means inserting values in Text field will appear in the combo field. for example country name, state name. Kindly reply it is urgent !!!
can any one tell me what is syntax error in line msgexist=Browser("title:=Gmail: Email.*").Page( "title:=Gmail: Email .*").WebElement(innertext=&msg).exist 'code ************** Call login("lal="," " ) wait(5) Call errormsg("Invalid email address. [?]" ) Function errormsg(msg) msgexist=Browser("title:=Gmail: Email.*").Page( "title:=Gmail: Email .*").WebElement(innertext=&msg).exist if msgexist then Reporter.ReportEvent micPass,"enter valid username or pwd ",msg else Reporter.ReportEvent micFail, "entered valid uname and pwd",msg end if End Function
What is Virtual object wizard in QTP?
If I change the object name in one action will it be updated in all the actions? Or not?