Active Topics Memberlist Calendar Search Help | |
Register Login |
One Stop Testing Forum : Testing Tools @ OneStopTesting : SilkTest @ OneStopTesting |
Topic: How to retrieve text from a disabled textbox. |
|
Author | Message |
Ambika
Newbie Joined: 26Apr2007 Online Status: Offline Posts: 1 |
Topic: How to retrieve text from a disabled textbox. Posted: 26Apr2007 at 9:59pm |
Hi,
I have a textbox control in my htmlpage where it is disabled by default. When I tried to retrieve the text it throws as its is not enabled. Below the control status and error text. Please let me know how to retrieve the text from that control [ ] Exists TRUE [ ] isEnabled FALSE [ ] isVisible TRUE [ ] isActive TRUE [ ] *** Error: Window '[HtmlTextField]Current Time|[HtmlTextField]#1|[HtmlTextField]$currenttime' is not enabled [ ] Occurred in Ctrlr.Commands.SetTime.txtCurrentTime.GetText [ ] Called from ControllerCommandSetTime at controller_command_set_time.t(49) Post Resume: Click here to Upload your Resume & Apply for Jobs |
|
IP Logged | |
Chandana
Newbie Joined: 27Apr2007 Online Status: Offline Posts: 1 |
Posted: 27Apr2007 at 2:59am |
Hi
Use these lines before and after ur code.. 1) Agent.SetOption(OPT_VERIFY_ENABLED, FALSE) Agent.SetOption(OPT_VERIFY_ENABLED, TRUE) Other wise goto 2) Options -> Agent -> Verification TAB Uncheck the box verify the propetties of window.. 3) Verifyproperties method is also working on that.. |
|
IP Logged | |
Forum Jump |
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
© Vyom Technosoft Pvt. Ltd. All Rights Reserved.