Completed

Problem filling numbers into a table

We have a web app that often has tables in it. The tables have columns of 3 types- text, numeric and dropdown. When we are trying to fill the numeric type columns of the table with numbers, only digit is filled and not the whole number.

Example: Try to enter 15 into the table, only 1 is filled. Try to enter 250, only 2 is filled.

This happens with data templates too.

0
9 comments
Avatar
Joseph Hamdan

Hi Tejasri,

We would need to inspect this web app to see what is causing this behavior to happen. Would it be possible to provide answers to the below questions so we can better assist you?

1- Did you use Clear option on Fill command, or not?

2- could you please provide a snapshot of the application which includes the fields you are interacting with?

3- could you please provide the test case name and which particular steps perform filling in the fields where the issue occurs?

Regards,

Subject7 Team

0
Comment actions Permalink
Avatar
Pdavuloori

Hi Joseph,

Thank you for getting back so quickly. Regarding your questions:

1. We are not using the clear option when filling. clear is set to false.

2. Here is a snapshot of the application and the table we are trying to fill, the second column is numeric:

 

3. Test case name: Template_Exercise_3_smoke_test_Alpha_V2 (ID: 5413). Steps 210 to 215 cover the issue we are talking about. Right now there is a data template being used. But we have seen the same problem when a value was given in the fill command too.

Thank you.

 

0
Comment actions Permalink
Avatar
Joseph Hamdan

Hi Tejasri,

Thank you for the details. I am seeing that you are using Fill steps with '@system.key.tab' to navigate between fields (steps 211-213-215).

Would it be possible to skip these steps and see if the issue still occurs? 

Regards,

Subject7 Team

0
Comment actions Permalink
Avatar
Pdavuloori

Joseph,

I checked as you suggested, by skipping the tab steps. Still the same result, only one digit is getting filled.

0
Comment actions Permalink
Avatar
Joseph Hamdan

Hi Tejasri,

The text boxes are a bit tricky to handle, so we have introduced a new feature to Multi_Action command as part of 8.17.4 release which is currently in production.

Release note:

  • Added new options to Multi_Action command:
    • Pause: Allows test case to wait for determined number of seconds before the next action is taken
    • Send_Keyboard_key: Allows using a keyboard key such as EnterEscapeTabDelete, and Backspace

To resolve your issue, please follow the steps below:

1- In steps 210, 212 and 214, remove the Fill step and replace it with Multi_Action command.

2- Add 4 actions under the command in this order:

A- Double_Click: This action will take the locator name 

B- Pause: Add 1 second as duration

C- Send_Keys: This action takes the value you are trying to add (from the data template)

D- Send_Keyboard_Key: This action takes the value "Enter"

This image shows how the step will look like:

Please let us know if you have further questions or comments.

Regards,

Subject7 Team

0
Comment actions Permalink
Avatar
Pdavuloori

Hi Joseph,

The solution you provided has been working so far, however, we need to test it on a few more types of tables. We will get back to you if something doesn't work.

Thank you for your help, appreciate it.

0
Comment actions Permalink
Avatar
Joseph Hamdan

Hi Tejasri,

You are most welcome, we are glad to help.

Regards,

Subject7 Team

0
Comment actions Permalink
Avatar
Pdavuloori

Hi Joesph,

We have a minor problem, which is not related to the issue in this discussion. I'm not sure if this problem needs a separate post. But if you would like me to create a separate post, please let me know.

When we are trying to install the Subject 7 local player, we are seeing this issue:

 

This is after Java has been installed to the system through this link: https://java.com/en/

Are we doing some step wrong? Please let me know. Thank you.

 

0
Comment actions Permalink
Avatar
Joseph Hamdan

Hi Tejasri,

Yes, it would be great if you can create a new post for this issue and include the below details:

1- Which Java Development Kit version was installed

2- Is this destination writable? Are you able to go in there and create files and folders?

Regards,

Subject7 Team

0
Comment actions Permalink

Please sign in to leave a comment.