Thread Rating:
  • 1 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
WebEdit name property
#1
Solved: 11 Years, 3 Months, 4 Weeks ago Question 
WebEdit name property contains value as Test[0].zip. But whle running the script am unable to recognize the object.
Am using following code snippet:-
Code:
Set objTextField=Description.create()
objTextField("micclass").Value = "WebEdit" 'className
objTextField("html tag").Value = "INPUT" 'html tag
objTextField("name").Value = "Test[0].zip"            
Set objBrowser=Description.create()        
objBrowser("micclass").Value = "Browser" 'className
objBrowser("title").value = "R.*" 'Object Name title
Set objPage=Description.create()    
objPage("micclass").Value = "Page" 'className
objPage("title").value = "R.*"     'Object Name title
Browser(objBrowser).Page(objPage).WebEdit(objTextField).set "1235"
Set objTextField = nothing
Set objBrowser = nothing
Set objPage = nothing

I think in name since [] and . is used. This might be creating problem. How can I handle this type of name of object. IF REGEX is used, then how can i use it.
Thanks
Reply


Messages In This Thread
WebEdit name property - by Charanpreet - 04-13-2011, 01:09 PM
RE: WebEdit name property - by Jay - 04-13-2011, 01:16 PM
RE: WebEdit name property - by Charanpreet - 04-13-2011, 01:24 PM
RE: WebEdit name property - by Jay - 04-13-2011, 01:29 PM
RE: WebEdit name property - by Charanpreet - 04-13-2011, 01:32 PM
RE: WebEdit name property - by Jay - 04-13-2011, 01:52 PM
RE: WebEdit name property - by Charanpreet - 04-13-2011, 02:37 PM
RE: WebEdit name property - by Jay - 04-13-2011, 03:14 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  VALUE, INNERTEXT property from WebEdit and WebElement objects AGE_WACH 4 24,469 12-22-2008, 04:43 PM
Last Post: bfakruddin
  how to check checkbox's readonly property if developer has not used this property blanchedsouza 0 4,687 05-15-2008, 04:27 PM
Last Post: blanchedsouza

Forum Jump:


Users browsing this thread: 1 Guest(s)