Pages

Thursday, 24 December 2020

LINUX Set-03 for SDET and DevOps Interview question? Linux Commands for Admin Profile

 

  Linux Commands Set-01 for SDET/DevOps INterview Questions

  Linux Commands Set-02 for SDET/DevOps

  •  scp – securely Copy Files Using SCP, with examples. 
  •  find – locates files based on some user-specified criteria.
  •  ncdu –  Click Here For Answer
  •  pstree – display a tree of processes. 
  •  last – show a listing of last logged in users.

    Know About DevOps

  •  cp – copying files and folders. 
  •  mv – moving files and folders. 
  •  rm  Click Here For Answer

    Top Kubernetes Commands-Click Here

  •  mkdir – create or make new directories.
  • touch Click Here For Details
  •  man – for reading system reference manuals. 
  •  apropos – Search man page names and descriptions. 
  •  rsync Click Here For Answer
  • tar – an archiving utility. 
  •  gzip – file compression and decompression.

      Top 21 GIT interview questions

  •  b2zip – similar to gzip. It uses a different compression algorithm. 
  •  zip – for packaging and compressing (to archive) files
  •  locate – search files in Linux.
  • ps – Click Here For Answer
  •  Making use of Bash scripts. Example: ./bashscript.sh
    •  traceroute – check the route packets take to a specified host.
    •  nslookup – query Internet name servers (NS) interactively.
    • fdisk – manipulate the disk partition table.
     

  Linux Commands Set-01 for SDET/DevOps INterview Questions

  Linux Commands Set-02 for SDET/DevOps

 

 

Monday, 30 November 2020

Top 50 Interview Questions on Automation Testing - Selenium for SDET/Automation QA? Set-05



Check questions from 1 to 10 below:


Question set 21 to 30:
 
Question set 31 to 40:
 

41. What’s the difference between soft and hard asserts?

Click here for answer with example

42. How would you upload a file via Selenium Webdriver? Know About Kubernetes

Let we have a button as "Choose File", so first need to identify this element as below

@FindBy(xpath="//span[contains(text(),'Activate')]")
    public WebElement chooseFile;

Use sendkeys with the file path that you want to upload:

chooseFile.sendKeys("C:\\filetoupload")

 43. What are the parameters do you have to meet for Selenium to pass a test?

There are four conditions (parameters) for Selenium to pass a test,  as below: 

URL, host, browser and port number.

Top API Interview Question 11-20 

44. Have you worked on invocation count/thread count or any advanced TestNG annotation, if Yes then can you explain?

Click here for answer

45.  Tell me two things that you can't automate using Selenium?

Captcha and Barcodes    (Explore DevOps)

46.  Explain some of the keywords that has been used in your project for BDD approach?

Click here for answer with example

47. What will happen if you run this command. driver.get(“www.google.com”) ?
 

As the given URL doesn’t contain http or https prefix so it will throw an exception.

So, it is required to pass HTTP or HTTPS protocol within driver.get() method.

driver.get(“https://www.google.com”);

Learn To Design FRAMEWORK From Scratch

48. What is Recovery Scenario in Selenium WebDriver?


Recovery Scenarios is done by using “Try Catch” block within Selenium WebDriver :.

try{
driver.get(“https://www.google.com“);
}
catch (Exception e){

e.printStackTrace();

 }

Top Docker Commands 

49. Which Source code management tool you have used and tell me some of the basic commands that you have used?

Click here for answer

50. Have you worked on database side for fetching data to validate in selenium tests, if Yes then can you tell me some of the basic queries that you have used in day to day work?

Click here for answer with 11 queries

**What are two classes that you use for Mouse and Keybord?**

 Try to find the answer and do reply in comment section, will explain in next post.Keep reading
Subscribe my youtube channel: https://youtu.be/SmTbXizVzfU

 
Check below link for question SET-01:
Top API Interview Question 1-10
 
Check below link for question SET-02:
Top API Interview Question 11-20  

For Online Training on SDET contact 9619094122, starting new batch from December Third week.