![]() |
new in QTP, need help - Printable Version +- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums) +-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP) +--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners) +--- Thread: new in QTP, need help (/Thread-new-in-QTP-need-help) |
new in QTP, need help - guilherme_br - 03-15-2009 Hi, I started to work in a new project in my company that need to use QTP to realize the tests with a site that they're developing. But no one there has experience with QTP, so, I'm kinda a rat lab ![]() Then I found the site and the forum, and I registered to exchange some experience with you guys ![]() Yesterday I was trying to do some tests with date on site and "discover" how to parameterize that, then started my whole problem. I need to fill the dates with some wrong values to the site return me some messages, then I need to check that messages, but each message has a different WebElement name and I don't know how to solve that. For me the problem is the name of each message, I tried to parameterize that but don't work. Well, I sure that has something to solve that but yesterday I spent hours thinking on that and can't find the solution. I'd be very apreciated if someone help me with that, cause is making me nuts. Sorry for the long first post on forum and also for my english, that's not so good ![]() RE: new in QTP, need help - Ankur - 03-15-2009 Can you put the problematic piece of code here? Make sure it is properly formatted.Use "Preview Post" button to format it. RE: new in QTP, need help - guilherme_br - 03-16-2009 Quote:Browser("...").Sync 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 RE: new in QTP, need help - guilherme_br - 03-16-2009 I was searching on the forum if has something related with my problem and I found that, and resolve my checkpoints ![]() Now I only have a little error with one message, I "tell" to QTP fill the date with blank values, but he fill each field (date/month/year) with a space, and appears other message than expected. RE: new in QTP, need help - guilherme_br - 03-16-2009 Oh, forget about it. I didn't realize of that field on the table I fill with a space ![]() Now it works, anyway, thanks for the help |