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
#1
Not Solved
Hi All,

Please can any body tell me How can I send variable value for HTML property for descriptive programming in QTP.

e.g.
Code:
Dim testid, i,j
i=1
j = Cstr(i)
testid = "Edit"+j

Browser(browsers).Page(pages).WebButton("html tag:=Input", "html ID:=testid").Click

Here i is variable. But when am sending testid as a value to html ID , its throwing me error , I guess there is some string error because of double qoutes. Can any body help me to resolve this problem.

Thanks,
Ritu
Reply


Messages In This Thread
How can I send variable value to html property for descriptive programming in QTP - by ritugoyal - 07-24-2009, 11:25 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  QTP Not Recognising Delphi Name Property richardeth 0 2,023 01-30-2014, 09:57 PM
Last Post: richardeth
  capture screenshot using html code and view in QTP Test results Bhuvan 3 7,003 07-19-2013, 02:38 PM
Last Post: Bhuvan
  Not able to send spacebar with End Key to TE nbansal 1 3,393 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 3,896 06-13-2011, 09:55 PM
Last Post: byzoor
  Send mails through QTP tester_rahul 2 2,961 04-29-2010, 01:50 PM
Last Post: tester_rahul

Forum Jump:


Users browsing this thread: 1 Guest(s)