Hi,
We use Ranorex Pro 1.3 for the automation test of our product. It works well.
But have a small issue. For any text box in the internet explorer, the controlname and control id are same. (Classname:Internet Explorer_Server and Controlid: 0 ,Role: Text).
We are not able to differentiate between the text boxes with the controlname and roles.
Is there any solution for this problem?
In internet explorer, all textboxes have same values.. why?
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
This is often a problem in web sites.For any text box in the internet explorer, the controlname and control id are same.
You can automate web pages much easier with the Ranorex.Web namespace. Unfortunately you need the Premium edition for this.
I would suggest to automate applications with the Ranorex namespace and web pages with the Ranorex.Web namespace.
But you can also use the following workaround, if the indexes of the text boxes remains the same:
1. Read all text boxes with Element.FindChildren:
Code: Select all
Element[] editFields = Element.FindChildren(Role.Text);
Jenö
Ranorex Team