Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how resolve "webedit" cannot identify
#3
Not Solved
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


Messages In This Thread
how resolve "webedit" cannot identify - by jabap4 - 04-22-2015, 05:14 PM
RE: how resolve "webedit" cannot identify - by jabap4 - 04-23-2015, 10:26 AM

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

Forum Jump:


Users browsing this thread: 1 Guest(s)