Issue in automating table data filling in firefox
This is data driven approach. I am trying to get data from sheet to be entered in table in a web application. Now in the table there are fields as below:
Textfield (To enter name), Datatype drop-down (To select data type), Length field(to enter the length), Status field (Isactive or not)
Now here there is a dynamic logic as for only “String” datatype the “Length” field would appear else in default table “Length” field/column is not shown because for other data types there is static length value provided.
Now when automating I am getting data in sequence from sheet and setting that in table. Switching over the fields is done by using “Tab” mechanism.
The only issue in this whole process is that while selecting “String” data-type from drop-down and after that tab is applied. At this point the “Length” field is supposed to appear for which data can be entered from the sheet but here at only tabbing/loosing focus from one field to another is not revealing the hidden “Length” field.
And at this point automation gets stuck up. Manually selecting the drop-down shows the “Length” field but when same is done manually using tab, the “Length” field does not show up.
I did researched on several places regarding this issue but mostly the conclusion obtained is that it is behaviour of the firefox. Also for this part there is bug reported in selenium (if I am not wrong).
Also I tried with chrome browser where it displays the “Length” field when “String” data-type is selected but there are other issues obtained due to which it would not be the feasible solution for me to switch to chrome.
I have also tried using different selenium methods for clicking on the “String” datatype in drop-down but none of them are working.
It would be of really great help if anyone can please suggest on above issue.
Hoping to hear soon from someone. Thanks for your efforts in advance.