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 |
can any one please tell me which is the best institute in Bangalore to learn QA (crash course)? Thanks
What is data driven testing in QTP?
Hi, Can anyone help me with: How to select a value from combobox and check the checkbox and set the filter. I have to set a filter by selecting a value from dropdown. Also, im using UFT 11.5 so can anyone help me with code for UFT. Thanks Sreevidya
how to test Web application using QTP software
What is meant by Environmental variables?2 types r there know…can u pls explain clearly?
Inserting a Call to Action is not importing all columns in Datatable of globalsheet. Why?
how u write vb script in qtp pls give me some basic script and some material
32 Answers Datamatics, UHG, Winit,
How we can add actions in the test using QTP?
By using QTP, How do you test a frame in a web page?
What are the recording modes in qtp?
I am trying to read the rediffmail usign the below code. But facing problem, while i user to get the link of the mail, i am getting all the link of the page, While i just want to get only mail name - link (not all the link of an page) so that i able to read the mail message by clcking on them in qtp. Dim Lnk,Webcheckbox Set Lnk= Description. Create '********* To count and display the webcheckbox Lnk("micclass" ).value=" Link" set LinkName= Browser("Welcome to Rediffmail:" ).Page("Welcome to Rediffmail:" ).ChildObjects( Lnk) LinkCount=LinkName. Count msgbox LinkCount For i=1-1 to LinkCount-1 DataTable.SetCurren tRow(i) DataTable.Value( "Name",1) =LinkName( i).GetRoProperty ("name") Next Waiting for the reply Praveen Saini
I am facing an issue of object identification with the dropdown element of DHTML grid. When I tried to recognize these different dropdown objects, QTP identifies only one object for all the dropdowns. Hence, selection of different data from different dropdowns list is an issue. To overcome this problem, i have used Descriptive Programming technique by creating different object descriptions which have all the other properties same but differ only in one property i.e. ‘X’ location of the element on the screen. Hence, i have created distinct object descriptions that would allow us to select values in different dropdowns. The code is given below. But still I am unable to identify distinct dropdown objects. ‘Object Description for Dropdown Cell Status Set objCellStatus = Description.Create objCellStatus("micclass").value = "WebList" objCellStatus("name").value = "select" objCellStatus("x").value = 219 ------ ‘X’ Axis value for cell status drop down ‘Object Description for Dropdown Sub Segment Set objSubSegment = Description.Create objSubSegment("micclass").value = "WebList" objSubSegment("name").value = "select" objSubSegment("x").value = "319" ------ ‘X’ Axis value for sub segment drop down Please help... This is specific to DTML grid(Drop down object)