Verify Text box border color - Printable Version +- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums) +-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP) +--- Forum: VB Scripting/Descriptive Programming (https://www.learnqtp.com/forums/Forum-VB-Scripting-Descriptive-Programming) +--- Thread: Verify Text box border color (/Thread-Verify-Text-box-border-color) |
Verify Text box border color - qtpexpert - 07-03-2012 Hi guys, In my application one text box is there. I want to check that text box border color. How QTP can verify the text box border color. I have checked 'Text box' back ground color. In this way is there any solution to verify the text box border color. Any one knows the solution pls send the reply. Thanks in Advance. RE: Verify Text box border color - Ankesh - 07-04-2012 Hi, You can use the below code to get the border color. Code: strBorderColor=Browser("").Page("").WebEdit("").Object.currentStyle.borderColor Regards, Ankesh RE: Verify Text box border color - qtpexpert - 07-05-2012 Thanks for your solution . I tried with the code which you posted. It is working fine. RE: Verify Text box border color - DevilkID - 09-11-2012 Thanks a lot. |