Scripts_Markup Code Interview Questions
Questions Answers Views Company eMail

How to write a reusable function for testing an "Button" Objects in a page without passing the page name to a function? (Think if page names are dynamic and doesn't have any pattern matching between each page). Send me code which works in QTP 9.2.....

Infosys,

2 4848

The sum of three numbers is 20. The second number is 4 times the first number , and the sum of the first and third is8. Find the numbers.

7 10093

could you please tell me for what javac, javax,swing,awt.*; are using. what is the meaning and differences. and also there are 4 access modifiers in java. public, private, protected, default. what is the meaning of these 4 access modifiers and difference. public is the access modifier void means return data type disp() means function name what mean by static

Infosys,

1 4555

If basic HR function like recruitment, training are outsoureced then, why do companies have their own HR department?

Wellspring,

3 6677

Hi I have a dynamic dropdown reading in data from a MQSql database, I need to refresh just the dropdown (not the whole page) for any new values in the database. I am trying to use the getElementById in javascript but I have no idea how to get it to refresh. Does any one have an examples or any ideas how this can be done? Regards Srilanka_3

4 5685

1)how i get the current system time using php?

22 75436

Exception in thread "main" java.lang.OutOfMemoryError: Java heap space:

TCS,

2 7433

Pls provide basic funtionality Winrunner scripts for Health care domain and Phishing

HCL,

1150

How can a procedure fetch data from FTP? I need a general code for this..

Infosys,

1361

How to write QTP script to exit from loop? suppose I am using parametize functionality and in data table there is 3 password corresponding 3 username and second pasword is wrong. Now I want to exit after completion of second iteration and continue with third iteration.

2 7786

how to write a program to accept names and marks of 10 students from the user and display the names and markes of only the passed students. Marks greater than or equal to 35 is considered as pass.

4 9386

can we pass variable in array to traverse it?

1920

program that will accept any name and will be stored in an array

2 3922

I have a doubt regarding including tags in a function. I have written a function in javascript in a html page. The function got called by clicking a button, i want to display the results in same html page by placing tags in the function. (this hmtl page is static page) Is this possible? example:


iam getting keyword or delimiter error while executing ICETOOL,provide me solution.

1382


how to Auto Scroll the page

1609


What are the basic rules while writing XML?

310


I'm calling a JS fcn that fires AJAX to a webmethod and returns a boolean. How do I retrieve the return value in the codebehind? (VB) I can set a hiddenfield value in the JS, but if it's async how can my VB know when it's changed?

670


sample code to auto focusing the first field in a form

2012


How can i know that how many user are visited to my page in php?

1590


Code for using a Hot Key in an ActiveX Control?

1366


What are the advantages of XML DOM Document?

349


code to create a new window

1728


Given a N by N matrix of both negative and positive integers. Write an efficient algorithm to find the sub-matrix with the largest sum of all the contained elements.

1265