Home
Recent Q&A
Java
Cloud
JavaScript
Python
SQL
PHP
HTML
C++
Data Science
DBMS
Devops
Hadoop
Machine Learning
Azure
Blockchain
Devops
Ask a Question
Can you tell me some good coding practices while automation?
Home
Testing
Can you tell me some good coding practices while automation?
0
votes
asked
Nov 17, 2022
in
Testing
by
sharadyadav1986
Can you tell me some good coding practices while automation?
automation-testing
code-practices
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Nov 17, 2022
by
sharadyadav1986
Here are good automation practices:
Add appropriate comments to explain that coding part.
You should identify the reusable methods and write them in a separate file.
Must follow the language-specific coding conventions.
Store the test data in a separate file.
Run your scripts regularly.
Related questions
0
votes
Q: Can you do automation without a framework?
asked
Nov 18, 2022
in
Testing
by
Robindeniel
framework
automation-testing
0
votes
Q: Is Automation testing white box testing or black box testing?
asked
Nov 18, 2022
in
Testing
by
Robindeniel
automation-testing
black-box-testing
0
votes
Q: What are the Prerequisites of Automation Testing?
asked
Nov 18, 2022
in
Testing
by
Robindeniel
automation-testing
testing
0
votes
Q: What are the most popular tools for automation testing?
asked
Nov 17, 2022
in
Testing
by
sharadyadav1986
automation-testing
testing-tools
0
votes
Q: Is documentation necessary in Automation Testing?
asked
Nov 17, 2022
in
Testing
by
sharadyadav1986
automation-testing
0
votes
Q: Tell me few best practices you apply while using Collections in Java?
asked
Jan 27, 2020
in
JAVA
by
rahuljain1
#java-best-practices
Java-questions-answers
0
votes
Q: What do you mean by Automation Testing?
asked
Aug 28, 2021
in
DevOps
by
sharadyadav1986
automation-testing
devops-automation
0
votes
Q: Which Testing can be done using the Selenium Framework?
asked
Nov 18, 2022
in
Testing
by
Robindeniel
selenium-framework
testing
automation-testing
0
votes
Q: Where will you maintain information like URL, login, and password?
asked
Nov 18, 2022
in
Testing
by
Robindeniel
testing
automation-testing
url
login
0
votes
Q: What is the average number of test cases you have automated per day?
asked
Nov 17, 2022
in
Testing
by
sharadyadav1986
test-cases
automation-testing
...