View Single Post
  #1 (permalink)  
Old 02-26-2010, 03:59 PM
seanstolberg seanstolberg is offline
Junior Member
 
Join Date: Feb 2010
Posts: 1
Default Extract source from web pages in a loop using the url in a variable

Hello -

So I'm fairly new AA, but think I'm getting the drift of its constructs. Here is what I'm doing:

1. Open a database with test cases specified in a table
2. Run a query against the desired table.
3. Loop for each row returned. (Each row returned looks like "testName | url | tagName | expectedValue"
a. assign all four column values to custom variables
b. invoke a web page using the value of "urL"
c. extract source from the page
d. use string manipulation to extract the value within the tagName tag (in this case i'm using Title)
c. If the actual tagName value matches the expected Value, the test passes, otherwise it fails

The problem is that, although I'm able to configure the Open browser to use the variable URL, I can't seem to figure out how to extract source (or any of the the other two "extracts") from this same browser or a browser that uses the url value in the URL variable.

What am i missing? Thanks for the help. Attaching my file to help enlighten me.

Sean
Attached Files
File Type: atmn CollaborationSmokeTest.atmn (67.1 KB, 7 views)
Reply With Quote