Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
new in QTP, need help
#3
Solved: 11 Years, 6 Months, 3 Weeks ago
Quote:Browser("...").Sync
Browser("...").Page("...").Sync
Browser("...").Page("...").WebEdit("dateDay").Set DataTable("date", dtGlobalSheet)
Browser("...").Page("...").WebEdit("dateMonth").Set DataTable("month", dtGlobalSheet)
Browser("...").Page("...").WebEdit("dateYear").Set DataTable("year", dtGlobalSheet)
Browser("...").Page("...").WebButton("Refresh display").Click
Browser("...").Page("...").WebElement("The date has to be today").Check CheckPoint("CheckPointMessage")

The problem is on that bold line, depending on date that I fill the fields, the website returns me a message. "The date has to be today" is one of five, but every message has a different WebElement name.

I tried to parameterize the names of each WebElement and also their values, but doesn't work
Reply


Messages In This Thread
new in QTP, need help - by guilherme_br - 03-15-2009, 05:03 AM
RE: new in QTP, need help - by Ankur - 03-15-2009, 07:23 PM
RE: new in QTP, need help - by guilherme_br - 03-16-2009, 05:00 PM
RE: new in QTP, need help - by guilherme_br - 03-16-2009, 07:39 PM
RE: new in QTP, need help - by guilherme_br - 03-16-2009, 09:07 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)