Hi all,
I'm writing on behalf of our test team that's getting started with WebIO Test Studio QA Edition and have run into a few challenges in setting up tests. Together we weren't able to find samples to do what we're hoping to get done but I assume it's possible in some way.
We have several tests created in the test studio that are running great but are seeing failures usually due to unreliable element IDs. The test team is less technical than a typical QA department so are relying heavily on the test recorder.
1) One of our pages contains an arbitrary number of textboxes (HTML INPUT fields). Our test script adds a new textbox by triggering a postback using other controls on the page. After that, we want to verify that there exists a textbox on the page containing the text we entered.
Using the recorder, the textbox is always identified by ID which fails on subsequent runs.
I suppose the short form of the question is "how do I verify that there exists on the page (or within a particular div) an INPUT with value X?". Can this be done using the GUI tools without (or using minimal) code?
2) How do we verify that a list (HTML SELECT) contains (not necessarily selected) a particular value? The IDs of the items are also unreliable, but we know the value we're looking for. The ID of the SELECT element is known.
3) How do we verify that a list (HTML SELECT) does NOT contain a particular value? I suspect a GUI-created solution isn't possible for a case like this.
4) How do we verify that a list (HTML SELECT) contains no items (OPTIONs)?
The test recorder is great for static pages but dynamic IDs have proven challenging to them. We went through a getting started guide together and didn't find anything that went into the areas we're having troubled with. If there is some supplemental documentation that points us in the right direction that would be super.
Thanks!
I'm writing on behalf of our test team that's getting started with WebIO Test Studio QA Edition and have run into a few challenges in setting up tests. Together we weren't able to find samples to do what we're hoping to get done but I assume it's possible in some way.
We have several tests created in the test studio that are running great but are seeing failures usually due to unreliable element IDs. The test team is less technical than a typical QA department so are relying heavily on the test recorder.
1) One of our pages contains an arbitrary number of textboxes (HTML INPUT fields). Our test script adds a new textbox by triggering a postback using other controls on the page. After that, we want to verify that there exists a textbox on the page containing the text we entered.
Using the recorder, the textbox is always identified by ID which fails on subsequent runs.
I suppose the short form of the question is "how do I verify that there exists on the page (or within a particular div) an INPUT with value X?". Can this be done using the GUI tools without (or using minimal) code?
2) How do we verify that a list (HTML SELECT) contains (not necessarily selected) a particular value? The IDs of the items are also unreliable, but we know the value we're looking for. The ID of the SELECT element is known.
3) How do we verify that a list (HTML SELECT) does NOT contain a particular value? I suspect a GUI-created solution isn't possible for a case like this.
4) How do we verify that a list (HTML SELECT) contains no items (OPTIONs)?
The test recorder is great for static pages but dynamic IDs have proven challenging to them. We went through a getting started guide together and didn't find anything that went into the areas we're having troubled with. If there is some supplemental documentation that points us in the right direction that would be super.
Thanks!