First, the command that I sent you earlier should accomplish what you are
wanting to do for the verification. See the sample in the docs on the safs
site for more information on this.
As for reading from the Excel, I am not sure why you would want to do this
as there is a Huge amount of overhead involved in doing this and if you do
it, it will cause memory leaks on long running test. You could use a
CallScript command to accomplish what you are trying to do. There are some
other was to do this, but I think that will be the best way.
John
_____
From: safsdev-wrafs-bounces@...
[mailto:safsdev-wrafs-bounces@...] On Behalf Of srini vasu
Sent: Monday, November 05, 2007 1:44 PM
To: WinRunner SAFS--Software Automation Framework Support
Subject: Re: [safs-wrafs] How can I read from static field
I want to read the staic text from the window and check the user validy
i.e user enterd valid userid and pwd or not.i searched the WRSAFS reference
but i did't get the KeyWord.
and also one more clarification
If i want to maintain i/p data seperately in excel and want to read the
data.
For Example in step table
C,window,component,SetTextValue,^variable1
I want read the value from excel into variable1,How can we achieve this with
WRSAFS.
Thanks in advance,
Srinivasu
John Crunk <jcrunk@...> wrote:
What are you wanting to do with the text once you get it? You can find a
complete reference that will get you what you want at
http://safsdev.sourceforge.net/sqabasic2000/RRAFSReference.htm
_____
From: safsdev-wrafs-bounces@...
[mailto:safsdev-wrafs-bounces@...] On Behalf Of Geturi
Srinivasu
Sent: Monday, November 05, 2007 10:14 AM
To: safsdev-wrafs@...
Subject: [safs-wrafs] How can I read from static field
Hi,
How can i read the static text in a window using WRSAFS key words.
In normal winrunner we can get with the following statements.
set_window("Microsoft Internet Explorer", 1);
static_get_text("User: geturi Successful Login(static)",text);
Thanks in advance.
Srinivasu
This e-mail and any attachments may be confidential and/or legally
privileged. If you have received this e-mail and you are not a named
addressee, please inform Evolving Systems TIS at tis@... and then
delete the e-mail from your system. If you are not a named addressee you
must not use, disclose, distribute, copy, print or rely on this e-mail. To
ensure regulatory compliance and for the protection of our clients and
business, Evolving Systems may monitor and read e-mails sent to and from its
servers. Although Evolving Systems routinely screens for viruses, addressees
should scan this e-mail and any attachments for viruses. Evolving Systems
makes no representation or warranty as to the absence of viruses in this
e-mail or any attachments.
Registered Office: 3rd Floor, HM Geneva House, 14 Cunningham Road, Bangalore
- 560 052 India
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>
http://get.splunk.com/_______________________________________________
safsdev-wrafs mailing list
safsdev-wrafs@...
https://lists.sourceforge.net/lists/listinfo/safsdev-wrafs
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
|