Skip to main content
Cleaned up formatting
Source Link
Kate Paulk
  • 31.5k
  • 8
  • 55
  • 109

I am just finish my selenium code. I'm following page object pattern.Does My code does not follow any frameworks. My senior who reviewreviewed my code toldsaid that  ::

1).You need to keep the test data separately. Not scattering all over the script.

2). Keep the test data in Json. And read it from there where ever 3).it is necessary. Any secret key or password must be encrypted with any logic.

3).There are many code available for encryption. And readme file

which tells about how to run the project.

4). I think framework is not expandable. Like if you want to run the same test in multiple browser

there must be a configuration file.

5). For login page : If you would need to login with username and password. In that you should pass the pasword in encrypted format. While so you would need to save the password encrypted in test data. While sending password to that filed you should decrypt and send that in selenium script.

  1. You need to keep the test data separately. Not scattering all over the script.
  • Keep the test data in Json. And read it from there where ever it is necessary. Any secret key or password must be encrypted with any logic.
  • There are many code available for encryption. And readme file which tells about how to run the project.
  1. I think framework is not expandable. Like if you want to run the same test in multiple browsers there must be a configuration file.
  2. For login page: If you need to login with username and password, you should pass the password in encrypted format. While so you would need to save the password encrypted in test data. While sending password to that field you should decrypt and send that in selenium script.

Can anybody please clarify for me. Whether whether I should need to douse any frameworks?

I am just finish my selenium code. I'm following page object pattern.Does not follow any frameworks. My senior who review my code told that  ::

1).You need to keep the test data separately. Not scattering all over the script.

2). Keep the test data in Json. And read it from there where ever 3).it is necessary. Any secret key or password must be encrypted with any logic.

3).There are many code available for encryption. And readme file

which tells about how to run the project.

4). I think framework is not expandable. Like if you want to run the same test in multiple browser

there must be a configuration file.

5). For login page : If you would need to login with username and password. In that you should pass the pasword in encrypted format. While so you would need to save the password encrypted in test data. While sending password to that filed you should decrypt and send that in selenium script.

Can anybody please clarify me. Whether I should need to do any frameworks?

I am just finish my selenium code. I'm following page object pattern. My code does not follow any frameworks. My senior who reviewed my code said that::

  1. You need to keep the test data separately. Not scattering all over the script.
  • Keep the test data in Json. And read it from there where ever it is necessary. Any secret key or password must be encrypted with any logic.
  • There are many code available for encryption. And readme file which tells about how to run the project.
  1. I think framework is not expandable. Like if you want to run the same test in multiple browsers there must be a configuration file.
  2. For login page: If you need to login with username and password, you should pass the password in encrypted format. While so you would need to save the password encrypted in test data. While sending password to that field you should decrypt and send that in selenium script.

Can anybody please clarify for me whether I should need to use any frameworks?

Source Link
user21268
user21268

Importance of selenium Framework

I am just finish my selenium code. I'm following page object pattern.Does not follow any frameworks. My senior who review my code told that ::

1).You need to keep the test data separately. Not scattering all over the script.

2). Keep the test data in Json. And read it from there where ever 3).it is necessary. Any secret key or password must be encrypted with any logic.

3).There are many code available for encryption. And readme file

which tells about how to run the project.

4). I think framework is not expandable. Like if you want to run the same test in multiple browser

there must be a configuration file.

5). For login page : If you would need to login with username and password. In that you should pass the pasword in encrypted format. While so you would need to save the password encrypted in test data. While sending password to that filed you should decrypt and send that in selenium script.

Can anybody please clarify me. Whether I should need to do any frameworks?