02-14-2011, 11:43 PM
Hi,
I have a Website, in C#.net, and I usually test it using the QTP tool. This works fine, but there are 2 WebEdit fields that sometimes simply do not get filled by QTP.
The QTP focus on the field, but do not obey the command to fill it.
Here is the the command block:
I use the command "click", because there is a command that it's necessary to click on the field to auto-complete what I was typing.
Is there anybody able to help me with this problem ?
Sometimes the field gets filled, and sometimes not. It`s really weird.
Thank you very much.
I have a Website, in C#.net, and I usually test it using the QTP tool. This works fine, but there are 2 WebEdit fields that sometimes simply do not get filled by QTP.
The QTP focus on the field, but do not obey the command to fill it.
Here is the the command block:
Code:
Browser("title:=Page.*").Page("title:=Page.*").WebEdit("html id:=txtDe").Click
Browser("title:=Page.*").Page("title:=Page.*").WebEdit("html id:=txtDe").Set X 'X is a variable
Browser("title:=Page.*").Page("title:=Page.*").WebEdit("html id:=txtDe").Click
I use the command "click", because there is a command that it's necessary to click on the field to auto-complete what I was typing.
Is there anybody able to help me with this problem ?
Sometimes the field gets filled, and sometimes not. It`s really weird.
Thank you very much.