Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Unable to identify the web button.
#4
Solved: 10 Years, 9 Months, 2 Weeks ago
Hi Laxmi,
You should always create a new thread for your new query.
also wrap your code with proper tags. Refer Posting Guidelines.

For answer to your question
as you explained and If I am getting it right the text of webelement is changing as you set the web edit, You can use Descriptive programming in your code to identify the webElement.
try to modify your code with below statements
Code:
sText = DataTable("Name","dtLocalSheet") ' parameterized
Browser("Investment Hub").Page("Investment Hub").Frame("Frame_2").WebEdit("WebEdit").Set sText
Browser("Investment Hub").Page("Investment Hub").Frame("Frame_2").WebElement("innertext:=" & sText).Click

Reply


Messages In This Thread
RE: Unable to identify the web button. - by Saket - 10-27-2009, 01:23 PM
RE: Unable to identify the web button. - by Saket - 10-28-2009, 12:16 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  UFT unable to identify Java app objects consistently lester 1 1,802 07-12-2018, 08:28 PM
Last Post: Ankur
  How to identify SVG elements from web application Sanjana1987 0 1,815 02-07-2017, 08:30 AM
Last Post: Sanjana1987
  Unable to Identify Firefox Dialog rsrohit55 0 2,209 05-03-2016, 05:23 PM
Last Post: rsrohit55
  Unable to identify "Authentication Required" Dialog shaunysj 2 2,969 08-04-2015, 12:55 PM
Last Post: venkatesh9032
  QTP 11 Flex 4.5 Unable to Identify Objects krishiyers 1 3,607 12-24-2014, 12:39 PM
Last Post: vds.vipul

Forum Jump:


Users browsing this thread: 1 Guest(s)