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 4918

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 10227

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 4610

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

Wellspring,

3 6759

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 5775

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

22 75762

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

TCS,

2 7500

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 7844

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 9515

can we pass variable in array to traverse it?

1954

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

2 3984

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:


code to images to rollover

1865


What is an attribute?

360


Can I execute a XML?

350


i have some csv files in a directory which have sub-directories also. now how can i merge all .csv files in to one with a single header. for example: have some 4 files. 1.csv--------name,age,sal abc,25,4000 2.csv--------name,age,sal vgd,32,3500 3.csv--------name,age,sal hfg,20,5000 4.csv--------name,age,sal asd,15,2000 now my output file should be like 5.csv----------name,age,sal abc,25,4000 vgd,32,3500 hfg,20,5000 asd,15,2000 and please explain the code for me. as i am new to scripting. thank you in advance

1423


Is there any way to open notepad within php?

1709


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

1805


code to Hide and Show form controls

1814


how to create an anonymous function

1740


function to combine two or more arrays

1709


how to create Expandable and Collapsible Menus

2662