Active TopicsActive Topics  Display List of Forum MembersMemberlist  CalendarCalendar  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin


 One Stop Testing ForumTesting Tools @ OneStopTestingSilkTest @ OneStopTesting

Message Icon Topic: How to retrieve text from a disabled textbox.

Post Reply Post New Topic
Author Message
Ambika
Newbie
Newbie
Avatar

Joined: 26Apr2007
Online Status: Offline
Posts: 1
Quote Ambika Replybullet 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 IP Logged
Chandana
Newbie
Newbie
Avatar

Joined: 27Apr2007
Online Status: Offline
Posts: 1
Quote Chandana Replybullet 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 IP Logged
Post Reply Post New Topic
Printable version Printable version

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



This page was generated in 0.125 seconds.
Vyom is an ISO 9001:2000 Certified Organization

© Vyom Technosoft Pvt. Ltd. All Rights Reserved.

Privacy Policy | Terms and Conditions
Job Interview Questions | Placement Papers | Free SMS | Freshers Jobs | MBA Forum | Learn SAP | Web Hosting