Software Interview Questions
Questions Answers Views Company eMail

What type of inheritance that PHP supports?

Webwing Technologies,

15 43677

WWhat is the functionality of md5 function in PHP?

Tech Mahindra,

7 11898

How can we know the number of days between two given dates using PHP?

AZTEC, HCL, Navsoft,

8 14392

What are the different methods of passing data or information between two calls of a web page? What are the advantages/disadvantages of these methods?

Ardo, Patni,

4 16826

What are the different ways to login to a remote server? Explain the means, advantages and disadvantages?

1 5118

Create a PHP web script with the following attributes: on start, three HTML form elements are shown: an string input field, a checkbox field, a dropdown/pull down list with 5 elements and a submit button. On submission, the form should be redisplayed (while remaining all options/inputs as the user has selected/entered them). Additionally, the selections/inputs of the user should be displayed in text. Please solve this without the use of any external libraries.

Wipro,

1 5460

What is MIME?

2 6636

What is PEAR in PHP?

3 6509

How to use the COM components in PHP?

HCL,

2 6365

How many ways we can give the output to a browser?

6 9075

How can we know that a session is started or not?

8 13424

What is the default session time in PHP and how can I change it?

VirtualSoft,

13 59659

What changes to done in PHP.ini file for file uploading?

2 9996

Explain different types of errors in PHP (i.e. arguments in errorreporting function)?

Base2 Infotech, DCI, Microsoft, Tata Elxsi,

8 21572

How many ways I can redirect a PHP page?

MicroSec, N-Tier Business Solutions, University Exams,

9 23799


Un-Answered Questions { Software }

How are the key differences between python and ruby?

476


What are the parameter types for a method?

919


Is angular front end?

426


What are file streams?

560


If the view set concept is not implemented in web dynpro for abap, what options are there for reusing views ?

105






How to tic tac toe computer move?

486


Explain fact?

552


Distinguish between new and malloc and delete and free().

569


What is a responder chain?

568


How to create encrypted files using ansible?

1


Explain the various Administrator benefits using Web sphere?

451


What is the latest version of Ambari that is available in the market?

42


Define signal sampling?

503


Which commands you use to lock the database in mongodb?

5


Hi, Below is the code that i ran on selenium RC using eclipse IDE and java coding.: package source; import org.testng.annotations.BeforeSuite; import org.testng.annotations.Test; import com.thoughtworks.selenium.*; public class parameterized extends SeleneseTestCase { private Selenium browser; public static void main(String []args) { String arr[] = new String[5]; arr[0]= "bert"; arr[1]= "regular"; arr[2]= "copyonly"; arr[3]= "doert"; arr[4]= "inter"; parameterized obj = new parameterized(); obj.setUp(); obj.login_parameterize(arr); } @BeforeSuite public void setUp() { browser = new DefaultSelenium("localhost",4444, "*chrome", "http://goolge.com"); browser.start(); browser.open("http://goolge.com"); browser.waitForPageToLoad("30000"); browser.windowMaximize(); browser.open("/"); browser.click("gb_23"); } @Test public void login_parameterize(String[] arr ) { for(int i=0;i<=5;i++) { for(int j=0;j<=2; j++) { browser.type("//input[@id='Email']", arr[i]); browser.type("//input[@id='Passwd']", arr[i]); browser.click("//input[@id='signIn']"); browser.waitForPageToLoad("30000"); } } } public void EnterValuesIntoTextField_CheckWithGetValue() throws Exception { selenium.open("http://www.essaywriter.co.uk"); assertEquals("", selenium.getValue("id=textInput")); selenium.type("id=textInput", "Text In The Field"); assertEquals("Text In The Field", selenium.getValue("id=textInput")); } } When i ran this test i got an error which says: "Method login_parameterize requires 1 parameters but 0 were supplied in the @Test annotation." Any help is much appreciated. thank Gab

2147