10-28-2009, 12:16 PM
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
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