Selenium Interview Questions and Answers

Which of the following language is not supported by Selenium PHP C# ASP Java Ans – ASP Which of the following is false in case of waitFor command? waitForAlertPresent waitForTextPresent waitForFramePresent waitForPageToLoad Ans – waitForFramePresent JXL/POI jar files are required to ________. Requires to verify conditions In order to use Microsoft Excel files as data source In order to data drive our test All of the above Ans – In order to use Microsoft Excel files as data source How to create an instance of WebDriver? WebDriver driver = FirefoxDriver(); WebDriver = new FirefoxDriver(); WebDriver driver = CreateObject FirefoxDriver(); WebDriver driver [...]

Read more...

Selenium WebDriver Methods

Syntax for WebDriver Methods Creating New Instance Of Firefox Driver – this will open an new Empty browser WebDriver driver = new FirefoxDriver(); Command To Open URL In Browser driver.get(“http://selenium-suresh.blogspot.com”); This syntax will open specified URL of software web application in web browser. Clicking on any element or button of webpage driver.findElement(By.id(“id of any element or button”)).click(); Store text of targeted element in variable – This will retrieve text from targeted element of software web application page and will store it in variable [...]

Read more...

AWS Interview Questions and Answers

Name AWS Pricing Model? Pricing Models in Aws are : Reserved Instance On demand Instance spot instance Amazon Web Services comes under which cloud-computing ? AWS falls Under Infrastructure as a service cloud-computing category. Name of Amazon’s tech support and consulting business? AWS Premium Support Some AWS services which are not region-specific? List of some AWS services that are not region specific are as follows: a. Cloud front b. Route53 c. web application firewall d. IAM Are both Solaris and AIX Operating systems are available with AWS? No,both Solaris and AIX operating systems are not [...]

Read more...

ReactJS Interview Questions and Answers

ReactJS Interview Questions and Answers 1) What is React ?? ReactJS is the Client Side Javascript Library. ReactJs given by facebook. ReactJS used to simplify the complex UI. By using ReactJS, we can split the complex UI to multiple     executable solutions. Each executable solution called as component. Components are the building blocks of any React App.ReactJS is component based Library. We can reuse the components in ReactJS React’s one-way data binding keeps everything modular and fast. ReactJS is not a MVC Framework. ReactJS is the View in MVC. 2) [...]

Read more...

Python Interview Questions and Answers

Python Interview Questions and Answers   What is exception object? If exception has raised with in the logic, an object will be created with the complete information of error to be handled is called “Exception object”. Describe except block? Except-block contains exception handling logic. Except block executes only if an exception has risen in try block. What is the need of finally block? Finally, block contains resource releasing logic. It is recommended to shutdown(release) the resources properly after use in the application. What is the main advantage of [...]

Read more...

Python Interview Questions

What is Script? A program that serves the application (Standalone or Web) that was developed using another programming language. Script is a set of instructions that will be interpreted. Script carried out by another program rather than by the computer processor. Why Python programming language? Every programming language has its scope. Different programming languages used for different types of application development. Python script analyzes the data effectively using its pre-defined functionality than other programming codes. Python can be used in web development, Gaming development, Embedded System [...]

Read more...

C Objective Questions 8

152. What is the output? void main() { int a; a=100; printf(“%d %d”,++a,++a); } 153. What is the output? void main() { int i=-1; +i; printf(“i = %d, +i = %d \n”,i,+i); } 154. Which of the following is not a valid operator? A) + B)++ C)+++ D)+= 155. Which of the following daa type cannot be used with operator %? A) char B)double C)float D) Both B and C Attend Free Demo and Learn   C LANGUAGE ONLINE TRAINING   by Real-Time Expert 156. What is the output of the following code? void main() { int x = 10; const int y = x; x = x + 2; printf(“%d [...]

Read more...
C Langauge Practice Programs-MCQs-Objective-Questions

C Objective Questions 7

95. What is the output of the following program? void main() { int i = 2, j = 3, k, l; float a,b; k = i / j * j; l = j / i * i; a = i / j * j; b = j / i * i; printf(“%d %d %f %f \n” , k,l , a,b); } 96. What is the output of the following code? void main() { int a=5; int x; x = ++++a; printf(“%d %d”, a,b); } 97. What is the output of the following code? void main() { int a = 97; printf(“%d %u [...]

Read more...
C Langauge Practice Programs-MCQs-Objective-Questions

C Online Test 6

32. What is the output of the following code? void main() { int a = 010; printf(“\n a = %d “, a); } 33. What is the output of the following code? void main() { int a = 010; printf(“\n a = %o “, a); } 34. What is the output of the following code? void main() { int a = 53; printf(“\n a = %o “, a); } 35. What is the output of the following code? void main() { int a = 53; printf(“\n a = %x “, a); } Attend Free Demo and Learn   C LANGUAGE ONLINE TRAINING   by [...]

Read more...
C Langauge Practice Programs-MCQs-Objective-Questions

C Online Test 5

1. What is the output of the following code? void main() { int x; x = 3 > 2 > 1; printf(“%d” , x); } 2. What is the output of the following code? void main() { printf(“%X” , -1<<4); } 3. What is the output of the following code? void main() { int c = – -2; printf(“c=%d”,c); } 4. What is the output of the following code? void main() { int i=5; printf(“%d%d%d%d%d” , i++,i–,++i,–i, i); } 5. What is the output of the following code? void main() { int i; printf(“%d” , scanf(“%d”,&i)); // value 10 is given as input here } Attend Free Demo and [...]

Read more...