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 5243

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 10854

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 4872

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

Wellspring,

3 7132

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 6241

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

22 77684

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

TCS,

2 7818

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,

1365

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 8211

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 10196

can we pass variable in array to traverse it?

2123

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

2 4326

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:


Write a program to reverse a number in python?

569


how to convert between arrays and strings

2281


What is xml schema?

427


What is well formed XML document?

445


Write a function that takes as input a binary tree, and prints out each level of the tree on a newline. For example: a / b c / / d e f will output: a b c d e f

1516


program to show a progress bar

2283


determine which Element received an Event

2066


Write a function that takes an array of integers and returns that array rotated by N positions. For example, if N=2, given the input array [1, 2, 3, 4, 5, 6] the function should return [5, 6, 1, 2, 3, 4]

1979


advance the focus to next consecutive fields when Enter Key is pressed

1983


What is an XML Schema?

461