Ask a Question

Changing Keys to SetText in Keyword test

SOLVED
chaneyc
Contributor

Changing Keys to SetText in Keyword test

Hi there,

 

Is it possible to change Operation = Keys to SetText in a Keyword test? Also, what is the easiest way to keep up with lable changes in a website so that your scripts can stay up to date?

 

Thanks

 

Colin

5 REPLIES 5
Marsha_R
Champion Level 3

You should be able to switch Keys to SetText.  You may find that one works better than the other on a given page.  As far as tracking table changes (or any other changes) in a website, the best way to keep track is to have frequent communication with the developers on your team.  You should be discussing upcoming changes with them.

 

Marsha_R_0-1635974707655.png

 

In some instances Set Text is not available to select, I assume it could be because the field is not seen as a text box.

Marsha_R
Champion Level 3

That's correct.  Is Keys not working for you?

I do use both in some cases, the problem I run into is that depending which one I use it might populate the field all at once or type one letter at a time.



Colin Chaney

Lead Test Analyst
Testing & Deployment

**********************************************************************
This electronic email and any files transmitted with it are intended
solely for the use of the individual or entity to whom they are addressed.

The views expressed in this message are those of the individual sender
and may not necessarily reflect the views of the Christchurch City Council.

If you are not the correct recipient of this email please advise the
sender and delete.

Christchurch City Council
http://www.ccc.govt.nz
**********************************************************************
Marsha_R
Champion Level 3

Well, yes. SetText will do it all at once, "setting" the value.  Keys emulates someone actually typing the value in, thus the one character at a time.  

 

I've had it happen before with SetText that the text is visible in the field but it wasn't being saved, so I would switch to Keys.

cancel
Showing results for 
Search instead for 
Did you mean: