Logo QF-Test

Im Archiv der Mailingliste
wertvolle Antworten finden.

 

Gratis Testen  Download  Kaufen

Thomas Max, QF-Test Training und Support

Tipp für die Recherche in der Mailingliste: Volltextsuche (oben) verwenden.

Thomas Max,
Sr. Software Engineer & Trainer, QFS

2016 bis heute 2015 | 2014 | 2013 | 2012 | 2011 2010 2009 | 2008 | 2007

(ältere Archiveinträge vor 2007 nicht dargestellt, aber in der Suche enthalten)

Mailingliste - Einträge 2007


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [QF-Test] Collecting information/values from a SUT


  • Subject: Re: [QF-Test] Collecting information/values from a SUT
  • From: "Michael Werner" <michael.werner@?.com>
  • Date: Mon, 3 Dec 2007 11:24:01 +0100

Hi,

 

I usually loop through my tables until an IndexNotFoundException is thrown. To get the Values from the Cells I use a getText node. At least without a script I can’t access the whole line of a table. When you have all the Values you need, you can use a Serverscript to append them to a file.

 

I am not sure, if this is the most effective way, but it works fine for me.

 

Another way could be with a SUT-Script using rc.getComponent(“ComponentNameOfJTable”) and getValueAt.

 

Regards Michael

 

 

Michael Werner  

 

 

 

Ericsson GmbH

 

EDD/XMB/DB

Gerberstr. 33

71522, Backnang, Germany,
www.ericsson.com

 

 

Office: +49 7191 13 2374

 

 

Email  : Michael.Werner@?.com

 



Ericsson GmbH. Sitz: Düsseldorf. Registergericht: Amtsgericht Düsseldorf, HRB 33012. Geschäftsführer: Dr. Stefan Kindt, Carsten Ahrens. Aufsichtsratsvorsitzender: Jef Keustermans

 

This communication is confidential and intended solely for the addressee(s). Any unauthorized review, use, disclosure or distribution is prohibited. If you believe this message has been sent to you in error, please notify the sender by replying to this transmission and delete the message without disclosing it. Thank you.

E-mail including attachments is susceptible to data corruption, interception, unauthorized amendment, tampering and viruses, and we only send and receive emails on the basis that we are not liable for any such corruption, interception, amendment, tampering or viruses or any consequences thereof.

 


From: qftest-list-bounces@?.de [mailto:qftest-list-bounces@?.de] On Behalf Of Praveen
Sent: Freitag, 30. November 2007 08:43
To: qftest-list@?.de
Subject: [QF-Test] Collecting information/values from a SUT

 

Hi,

 

How to collect information/values from a SUT.

for eg: say i have a table in the application with rows and columns, the values may change dynamically, i want to collect the information present in it. After collecting it need to check for particular value and go ahead.

eg:

a

b

c

d

1

2

3

4

5

6

7

8

2

3

4

5

2

3

5

6

 

A window/dialog is launched and has few values in it, need to collect these values and put the same in text file how to do this?.

Basically i want to collect the values present from a SUT store in a file and need to compare with some values, can you help me how to proceed for these things....

 

Thanks

praveen


Videos Downloads Dokumentation Kaufen Gratis Testen