I want to create Excel object on another machine which is
in network i written the code "Set se=createobject
("Excel.Application","\\ankur")"here \\ankur is the name of
that machine but i m getting the error of permission denied
create object can anybody help me

Answers were Sorted based on User's Feedback



I want to create Excel object on another machine which is in network i written the code "Set ..

Answer / jagadish

I do not have exact syntax for that but, I'm 100% sure that
you have to provide IP address of the remote system also you
need permission of that remote system to perform operation
on that

Is This Answer Correct ?    0 Yes 0 No

I want to create Excel object on another machine which is in network i written the code "Set ..

Answer / kazi

Hi Ankur,
if showing error like that need to be admin right just
inform to your admin deppt.he can give admin right.

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More QTP Interview Questions

What is the short cut keys for the following?

0 Answers  


What test cases can you automate using QTP?

0 Answers  


what are the challenges you have faced while testing web based application using the automation tools ?

0 Answers  


What are the features supported by UFT?

0 Answers  


How can i test an application like Google Earth.In my application data will be fetched from a oracle database based upon which graphs are generated..so these all are dynamic..how can i use qtp here..alongwith that how can i test the map generated by a satellite just like google earth..

0 Answers  


Hi I have a doubt in qtp. Can you please clarify my doubt. If we are importing the data from excel sheet in qtp the the script is running the number of row times. I mean if there are 4 rows in excel sheet the script is running 4 times. cant we avoid this. suppose i have tis script: datatable.Import "C:\Documents and Settings\sailaja\My Documents\login1.xls" n = datatable.GetRowCount For i =1 to n systemutil.Run "C:\Program Files\Mercury Interactive\QuickTest Professional\samples\flight\app\flight4a.exe" datatable.SetCurrentRow i Dialog("Login").WinEdit("Agent Name:").Set DataTable ("Username", dtGlobalSheet) Dialog("Login").WinEdit("Password:").Set DataTable ("Password", dtGlobalSheet) Dialog("Login").WinButton("OK").Click Window("Flight Reservation").ActiveX ("MaskEdBox").Type "020209" Window("Flight Reservation").WinComboBox("Fly From:").Select "Frankfurt" Window("Flight Reservation").WinComboBox("Fly To:").Select "Los Angeles" Window("Flight Reservation").WinButton("FLIGHT").Click Window("Flight Reservation").Dialog("Flights Table").WinButton("OK").Click Window("Flight Reservation").WinEdit("Name:").Set "Sailaja" Window("Flight Reservation").WinButton("Insert Order").Click Window("Flight Reservation").WinMenu ("Menu").Select "File;New Order" window("Flight Reservation").Close next I created a excel sheet with 3 rows and 2 columns. (username and password). The script is running 9 times. I made the option run one itaration only . eventhough it is running 9 times .can u plaese clarify my doubt. Thankyou Sailaja.

3 Answers  


How to execute a winrunner script in quicktest professional (qtp)?

0 Answers  


What frame work ur using in QTP in ur current company?

7 Answers   Accenture,


can we run the scripts of qtp 8.2 in the qtp7.0?

1 Answers  


what r the executing modes in QTP

2 Answers  


What is the default object synchronization timeout in qtp?

0 Answers  


What are the types of environment variables in qtp?

0 Answers  


Categories