On windows, I am trying to Add Firefox (57.0.2) as a browser in RFT(9.1).
When I click on Configure -> Enable Environment for testing -> Web Browser -> Add and choose C:\Program Files\Mozilla Firefox I get the following message:
The [C:\Program Files\Mozilla Firefox] file is not the specified directory for an installed browser.
But it is the installation directory. firefox.exe and all the other files (mostly dll) are inside it.
If I copy iexplore.exe inside that Mozilla Firefox directory, I can then add it and change the iexplore command to firefox and am able to save it as a browser. But in that case, the browser 'Kind' is IE and I get a bunch of exception when trying to execute. Also, if I rename firefox.exe for 'chrome.exe' then I am able to add it and the 'Kind' changes to Chrome.
Any idea why RFT don't recognize C:\Program Files\Mozilla Firefox as a browser installation folder? I wonder how RFT detects if it's Firefox or not..it's weird that by renaming 'firefox.exe' for 'chrome.exe' it's saving it as a Chrome browser but firefox.exe isn't working.
IBM has a support document, that mentions Firefox 50: https://www-01.ibm.com/support/docview.wss?uid=swg22000301
Basically, you need to add a folder inside the Firefox Installation Path:
Open Windows Explorer and go to \browser. For example,C:\Program Files (x86)\Mozilla Firefox\browser.
Create a new folder called components.
Related
I know this question has been already asked but it didn't work for me.
When I run the command:
appcmd set config /section:system.webServer/directoryBrowse /enabled:true
I have the following error:
The command appcmd was not found, but does exist in the current location. Windows PowerShell does not load commands from the current location by default.
At his point I don't know what to do. How can I run the command?
I would try it at the site level first, Run with elevated permission i.e. Run as Administrator
Enable directory browsing at the site level
cd "C:\Program Files (x86)\IIS Express\"
run this appcmd.exe set config "Contoso Some SITE NAME" -section:system.webServer/directoryBrowse /enabled:"True" /showFlags:"Date, Time, Size, Extension"
check to turn off encryption and read only in folder options
Note: Run with elevated permission
GUI version from Microsoft site for other versions:
On the Start screen, move the pointer all the way to the lower left
corner, right-click the Start button, and then click Control Panel.
In Control Panel, click Programs and Features, and then click Turn
Windows features on or off.
Expand Internet Information Services,
expand World Wide Web Services, expand Common HTTP Features, and
then select Directory Browsing.
Click OK.
Click Close.
If it still does not work, then try & delete all the IIS cache and repeat the above
I previously answered this, and it works well here for the majority of people
Open CMD prompt & Navigate to IIS express - by typing the following
cd "C:\Program Files (x86)\IIS Express\"
run this appcmd.exe list site /xml | appcmd delete site /in
This will delete all the sites, enjoy!
When i tried to open the abc.exe by double clicking, it is working fine but when i tried to open from command prompt with full path it throw an error due to a dependent file.
Command is - "C:\Program Files\work\project\abc.exe"
and dependent file "abc.txt" also placed at "C:\Program Files\work\project"
when i do the cd C:\Program Files\work\project and then try to open the abc.exe, it is working fine.
At all other systems it is working fine buy at my pc it is giving error.
I checked the registry seeting and path but did not see and difference.
Please suggest me how to solve this issue.
I created a custom shell command for command prompt. In Windows 7, I stored it in C:\Program Files\Common Files\Microsoft Shared\Windows Live. I was able to run this command from cmd.
I tried to register this command in Windows 8.1 (64-bit) but I don't have the folder Windows Live in Microsoft Shared.
How can I register this custom command in Windows 8.1?
Here is the GitHub Link.
Okay, i found soloution. Thanks #Petesh
Create folder C:\CustomCommands
Open Computer and right-click on any white space, then select properties from the context menu.
When the System section of Control Panel opens, click on the Advanced system settings hyperlink in the left hand pane.
Then you will need to click on the Environment Variables button.
In order to add an entry to your path, you need to precede the folder name with a semi-colon. For example, if i want to add the CustomCommands folder which is on the root of your C drive to my path i would the following to the end of the Variable value field:
;C:\CustomCommands
Copy .bat file to this directory
Restart
I am having strange problem. I used to run appcfg.py to update my app to appengine but now its not working anymore. When I run this command
C:\Program Files <x86>\Google\google_appengine>appcfg.py update E:\path\myApp\
Its not giving me anything, no error no feedback. Its just back to this line
C:\Program Files <x86>\Google\google_appengine>
Any idea about this issue!
P.S. I'm using Python 2.7. My code is updating through google app launcher but I need to run it from cmd prompt as I will be downloading/uploading appengine stuff which launcher doesn't allow me to do!
Thanks
I still had a little trouble with the instructions. Here's the steps I used to create a batch file to use the Google App Engine download_app with Windows 7.
In my example,
I'll use drive, C:
Default python path will be, C:\Python27\python.exe
GAE path (include "), "C:\Program Files (x86)\Google\google_appengine\appcfg.py"
App ID {your_app_id} will be just your app-id name
{your_app_version} is the "Version:" number in your GAE app.yaml file
I'll create a folder on my Windows 7 desktop and call it GAE_App
The desktop folder path will be C:\Users\{username}\Desktop\GAE_App
{your email} will be the Gmail account connected to your GAE
Right-click on the desktop and select New->Text Document. Open the newly created text document and add the following line of code modified for your setup to the blank text document,
C:\Python27\python.exe "C:\Program Files (x86)\Google\google_appengine\appcfg.py" download_app -A {your_app_id} -V {your_app_version} --email={your email} C:\Users\{username}\Desktop\GAE_App
Save the text document and change the file name to GAE_Download.bat
It's important that the extension now says ".bat" instead of ".txt"
Once finished, click on the batch to execute it. You'll be asked for a password and then the files should download into the GAE_App folder on your desktop. Now, whenever you need to download your files, just click on the batch file.
Not sure why Google didn't simply include this feature with their GAE for Windows software.
I faced the same issue. Here is a simple solution.
Just do this following Steps:
Go to program file where google app engine is installed. Generally It is named as Google.
click on appcfg.py and select open with.. Select "Choose Default Programs".
Select Python from programs and select "Always Use the selected program to open this kind of file" .
Now run the command you should get the results on command line.
For reference click here
Fixed by accessing python lib like that
C:\Python27>python appcfg.py update E:\path\myApp\
Here's a solution that worked for me:
"google_appengine/appcfg.py" update "C:\PATH TO APP
The appcfg.bat that should be used is located **C:\Program Files\Google\Cloud SDK\google-cloud-sdk\platform\appengine-java-sdk\bin** and not the empty appcfg.bat that for some unknown reason also was here C:\Program Files\Google\Cloud SDK\
Good practice is to add this path to the system variable PATH
This worked for me
Basis
<PATH_TO_PYTHON>python <PATH_TO_APPCFG.PY>appcfg.py -A <PROJECT_INSTANCE_NAME> update app.yaml
Example
X:\Software\Python2.7\python Q:\SOFTWARE\GoogleAppEngineSDK\appcfg.py -A great-1337 update app.yaml
I am using Firefox 3.6 as my browser, it's installed on "C:\Program Files\Mozilla Firefox".
But I cannot find offline storage cache directory in it, and I cannot find configuration about cache directory in Firefox either. Anyone knows the directory? Thanks!
Type "about:cache" in the address bar.
It depends on your Windows version. See: http://www.addictivetips.com/windows-tips/firefox-cache-files-and-folder-in-windows/ .
The location of Firefox's cache varies depending on your version of Windows, but it's always found in your local user's application data folder.
On Windows XP/2000:
C:\Documents and Settings\[Your User Name]\Application Data\Mozilla\Firefox\Profiles\
On Windows Vista/7:
C:\Users\[Your User Name]\AppData\Local\Mozilla\Firefox\Profiles\