Ask a Question

Changing Keys to SetText in Keyword test

SOLVED
chaneyc
Occasional 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

1 ACCEPTED SOLUTION

Accepted Solutions
Marsha_R
Community Hero

Re: Changing Keys to SetText in Keyword test

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.


Marsha_R
[Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame

View solution in original post

5 REPLIES 5
Marsha_R
Community Hero

Re: Changing Keys to SetText in Keyword test

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

 


Marsha_R
[Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
chaneyc
Occasional Contributor

Re: Changing Keys to SetText in Keyword test

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
Community Hero

Re: Changing Keys to SetText in Keyword test

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


Marsha_R
[Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
chaneyc
Occasional Contributor

Re: Changing Keys to SetText in Keyword test

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
Community Hero

Re: Changing Keys to SetText in Keyword test

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.


Marsha_R
[Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame

View solution in original post

cancel
Showing results for 
Search instead for 
Did you mean: