Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


Automation Help!

 
Logged in as: Guest
arrSession:exec spGetSession 2,3,28481
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> ASP >> Automation Help!
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 Automation Help! - 11/30/2005 3:47:00 PM   
  jkemper

 

Posts: 4
Score: 0
Joined: 11/30/2005
Status: offline
Original message moved by Country73
Reason : ASP related question.
I am working on a automated test scripts for a website and I am required to use vbscript to do the bulk of the work.  This there a way to get the values passed back from the server using vbscript, either repsonse header or by parsing thru the html source code?

JK
 
 
Post #: 1
 
 RE: Automation Help! - 12/1/2005 12:42:22 AM   
  Country73


Posts: 733
Score: 10
Joined: 8/25/2004
From: USA
Status: offline
Welcome,

First off you may want to take a look at: W3Schools ASP Tutorial and you may also find a few answers by looking through this ASP section of the VBScript Forum.

A good start would be to elaborate a little more on what your actually wanting to do on your website.
What values are you wanting to retrieve back from the Server?
Are you using some sort of Form to Post information to the Server and in turn retrieve additional information back from the Server?

< Message edited by Country73 -- 12/1/2005 12:44:55 AM >

(in reply to jkemper)
 
 
Post #: 2
 
 RE: Automation Help! - 12/1/2005 1:01:45 AM   
  jkemper

 

Posts: 4
Score: 0
Joined: 11/30/2005
Status: offline
Basically the site sends the selection made to the server using a form and the server determines what the price is.  My developers have said that they can send the data calculated to determine the price back to me for verification either by placing it in the response header or as a comment in the html source code where I can pick it up.  The problem is I don't know who to get to the data in order to plug it in my scripts.  I need to be able to parse the html source or get the data out of the response header.

JK 

(in reply to jkemper)
 
 
Post #: 3
 
 RE: Automation Help! - 12/2/2005 12:58:03 AM   
  Country73


Posts: 733
Score: 10
Joined: 8/25/2004
From: USA
Status: offline
I really don't mess with ASP a whole lot anymore, or not that I did a whole lot with it in the past, but hopefully I can still put a little info out of the cobwebs in my brain.

How exactly are your developers going to post that information out on the webpage? Shouldn't there be a variable already setup that would be used to display that information on the page?

(in reply to jkemper)
 
 
Post #: 4
 
 RE: Automation Help! - 12/2/2005 1:48:11 AM   
  jkemper

 

Posts: 4
Score: 0
Joined: 11/30/2005
Status: offline
The variable is not displayed on the page for the user to see.  When I asked them about the possibilities they indicated that they could add a variable to the response object and for me to pick up provided that I could read the response header.  The other possibility was to return the variable in the html source code and I would parse thru it and pull out the information I needed.

(in reply to Country73)
 
 
Post #: 5
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> ASP >> Automation Help! Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts