Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how resolve "webedit" cannot identify
#1
   
Cannot identify the object "[ WebEdit ]" (of class WebEdit). Verify that this object's properties match an object currently displayed in your application.
Reply
#2
HI,

Take Few more html properties of Webedit(Ex: class,html id,htmal tag..)
Reply
#3
Hi Naresh .
I am try to write my own code element properties using object spy

Code:
Option Explicit Dim MyBrowser Dim MyPage Dim MyWebEdit Dim Num_Ber 'Step 1: Open browser and navigate to http://www.mortgagecalculator.org/ navigate_browser("http://www.mortgagecalculator.org/") 'step 2: Enter Required data Set MyBrowser=Browser("name:=Mortgage Calculator") Set MyPage=Page("title:=Mortgage Calculator") Set MyWebEdit=WebEdit("name:=param[homevalue]") 'Set Num_Ber=100000 'Updated by test maintenance run 'Browser("name:=Mortgage Calculator").Page("title:=Mortgage Calculator").WebEdit("name:=param[homevalue]").Set "100000" Browser(MyBrowser).Page(MyPage).WebEdit(MyWebEdit).Set 100000 Browser(MyBrowser).Page(MyPage).WebEdit("name:=param[principal]").Set "80000" Browser(MyBrowser).Page(MyPage).WebEdit("name:=param[interest_rate]").Set "5" Browser(MyBrowser).Page(MyPage).WebEdit("name:=param[term]").Set "10" Browser(MyBrowser).Page(MyPage).WebButton("name:=Calculate").Click Browser(MyBrowser).Close
Reply
#4
Close all other browsers except Mortgage....

Code:
Browser("name:=MortgageCalculator").highlight
see the browser is highlighting......Its the issue of Browser

or

Code:
browser("creation time:=0").page("title:=Mortgage Calculator").webedit("name:=param[homevalue]").set "100"
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  How uniqule Identify WebEdit in QTP QTP9.2 3 5,683 01-28-2013, 11:29 AM
Last Post: harishshenoy
  Please resolve this issue in comparing 2 text files kkishore12345 1 2,723 01-11-2009, 11:27 AM
Last Post: kkishore12345

Forum Jump:


Users browsing this thread: 1 Guest(s)