Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How can I send variable value to html property for descriptive programming in QTP
#12
Not Solved
Hi

i used the same code but only diff is that apart from giving value to variable as
Code:
name = "Login"
Browser("name:=name").Page("page:=p").webbutton("name:="&name).click

i am passing it as input from excel sheet as given

Code:
datatable.getsheet("Action").setcurrentrow(k)
edit = trim(DataTable("Rownoedit","Action"))

Browser("name:=CTT.*").Page("title:=CTT.*").Frame("html id:=fraMain").WebButton("html tag:= INPUT","html id:=" &edit).Click

I am getting the error webbutton does not recognize obj edit.. bla bla bla

Please advice on this.. TIA
Reply


Messages In This Thread
RE: How can I send variable value to html property for descriptive programming in QTP - by binny318 - 11-24-2012, 02:54 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  QTP Not Recognising Delphi Name Property richardeth 0 2,088 01-30-2014, 09:57 PM
Last Post: richardeth
  capture screenshot using html code and view in QTP Test results Bhuvan 3 7,236 07-19-2013, 02:38 PM
Last Post: Bhuvan
  Not able to send spacebar with End Key to TE nbansal 1 3,631 02-08-2013, 11:31 PM
Last Post: coolguy
  fucntion to send mail in outlook works fine in qtpcode but does not work in .vbs Rashmi 2 4,077 06-13-2011, 09:55 PM
Last Post: byzoor
  Send mails through QTP tester_rahul 2 3,038 04-29-2010, 01:50 PM
Last Post: tester_rahul

Forum Jump:


Users browsing this thread: 2 Guest(s)