Contributions
Re: How to clear browser cache in firefox and chrome
This is thecode, I am trying to use: def ClearAllChromeStoredInfo(): objFSO = CreateObject("Scripting.FileSystemObject") strAppDataFolder = aqEnvironment.GetEnvironmentVariable(("LocalAppData") & "\Google\Chrome\User Data\Default") FilesInFolder = objFSO.GetFolder(strAppDataFolder).Files Log.Message(FilesInFolder) FoldersInFolder = objFSO.GetFolder(strAppDataFolder).SubFolders for Folder in FoldersInFolder: if UCase(Folder.Name) = "EXTENSIONS" and LCase(Folder.Name) = "EXTENSION STATE" Folder.Delete True break For File In range (FilesInFolder) If Not UCase(File.Name) = "PREFERENCES" File.Delete break The error I am getting is attached.4.9KViews0likes1CommentRe: How to clear browser cache in firefox and chrome
Thanks a lot shankar_r. However this seems to be in a language I do not understand. Could you pls. convert it into python or give me some pointers. I tried googling it, but looks like I am making mistakes here and there. Thanks,5KViews0likes2CommentsHow to clear browser cache in firefox and chrome
Before I login to the application, I want the ability to clear the cache. This is because the passwords and urls etc are stored in cache and before I execute any tests, I need to ensure that the cache is cleared. I am writing in python script. Is it possible? If yes, how?5KViews0likes8Comments- 2.1KViews0likes1Comment
The object does not support this property or method
am a newbie and trying to recognize objects using xpath as nothing else is working. So the issue is when I try to select xpath for a calendar icon, it is unable to find the exact object and on using 'click' method, gives above error. Pls. help resolving this. Screenshots attached: Code being used: obj = page.FindChildByXPath('//*[@id="TransitStartTime_LocalDate"]/span/i', True) if (GetVarType(obj) != varNull): # If the element was found, click it obj.Click() else: # If the element was not found, post a message to the log Log.Message('The element was not found.') Error received is: Python runtime error. AttributeError: The object does not support this property or method. Error location: Unit: AttributeError: The object does not support this property or method. Firefox and Chrome returns xpath as: //*[@id="TransitStartTime_LocalDate"]/span/i Pls. help.2.2KViews0likes3CommentsInstalling SOAP UI Fixed and Test Complete Floating license on single VM
Is it possible to install SOAP UI Fixed and Test Complete Floating + Test Execute floating license on a single VM? We want to access these licenses separately. Thanks, Neha7 years agoPlace ReadyAPI QuestionsReadyAPI Questions518Views0likes0Comments