Human selection of date using Selenium Ide - selenium-ide

I'm working on automating the download of some reports located in a web site.
Using Selenium Ide 2.9.1 and Firefox 46.0 is all ok, except for one operation: selecting the date from a calendar.
I mean: all has to be automatic except for selecting the date, because it's a requirement known only by the user. For example, today the user could be interested about what happened yesterday, or maybe about what happened the 1st of march.
So, if possible (i'm not sure), at the moment of selecting the date, the play case has to be stopped for allowing the user choose the date, selecting from the calendar or typing it.
At the moment, I've identified the matching nodes with Firebug. I can also use Fire Path.
But now, I need some suggestions.
Thank you.

Related

Setting up the default browser (IE, Homepage)

Those are actually two different questions but still they are connected. I am trying to make a script to automate the installation of company PCs for new employees.
An old script used to work fine but as of the 1703 update (or some time prior. No-one really knows), the changes no longer do their job and I cannot seem to find a fix.
The task:
Change the default browser from Edge to Internet Explorer
Set the IE homepage to "https://www.google.com"
Concerning the first problem: I have tried changing the Registry entries at
HKCU:\Software\Microsoft\Shell\Associations\UrlAssociations\http(s)\UserChoice\ No luck there. I have also tried exporting and the setting using DISM but importing them back has proven to be beyond my capabilities (Basically, I ran into this problem: https://social.technet.microsoft.com/Forums/en-US/d5fad871-8f5e-4c74-abaf-627809f8844b/ I cannot programatically change the settings for an existing user)
When facing the second problem, I tried searching the registry for the default site "go.microsoft.com/fwlink/p?LinkId=..." and changing the values. At one startup (After I modiffied the registry key
HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main value "Start Page"), IE displayed a prompt to the user informing them that an external appliation wishes to change the homepage but no change actually occured. And this only happened once (even after I changed the value again to a different site)
A preferred method would be using Powershell but after googling and ripping my hair out for two days straight, I am open to any suggestions. If it makes any difference, it's a 64-bit Windows 10 Pro

Cannot create a New ColdFusion project in ColdFusion Builder 2

I am doing this as part of the linda.com course "Getting Started with ColdFusion 10" I completed course once with no trouble, but going back to try going thru it again, I cannot create new projects. Here is what I sent lynda.com. They advised it could be weeks before they get to it.
I cannot add the travelAdv project following the directions in the video to add a new ColdFusion project. I completed this course and wanted to go thru it again. I deleted the files in c:\coldfusion10\cfusion\wwwroot\travelAdv. Then I added them again from the download using the start files in chapter 1. When I try to create it, I start with the Project Location of C:/ColdFusion/wwwroot.
I add the Project Name, travelAdv. When I click the Next button, the message at the top of the pop-up window is
"Project with travelAdv already exists. Select a different project name. I changed the name to travelAdv2. I set up the localhost as the server and the Sample URL is http://localhost:8500/travelAdv2/
Then I click finish. No project appears in the Navigator. It is totally empty. Under the Project tab at the top, The open a project option is disabled.
I have tried several different project names off of wwwroot, but they never add the project to the navigator. I searched the internet multiple times this past week and no one seems to have the same problem. I must be missing something. Any help would be appreciated.
Joe Bigler
The only solution I found was to upgrade to ColdFusion Builder 2016. The instructor of the course advised ColdFusion Builder was now too old and with too many issues to work on Windows 10. I uninstalled the old version and installed the trial of ColdFusion 2016. Everything seems to be working as expected so far. I can use existing projects and create new ones.

VB6 How to disable weekend days from Calendar control

I'm almost finishing my VB6 app and I'm trying to add some visual enhancements to controls.
My app allows to assign medical shifts to patients for which I use a Calendar Control. Now, I'm trying to find a way to disable Saturday and Sundays from being selected. Besides, it would be great if I could change the color of days if there are available shifts on them (that will be based on a sql query).
Does anyone know if this is feasible? I have looked at so many web pages for help but no success.
Thanks for your help
Gerardo
Absolutely not. The control is not even a standard Windows control, which means you're limited by the original implementation of it when Microsoft made it for VB6 back many years ago.
The easiest solution is to produce an error, or cause the cursor to switch to a different, nearby date.
The best solution is to make your own control, which would not be such a bad idea if you want anymore flexibility.
You could redesign your form to have a grid that shows appointment times, by staff. Just shade the squares according to availability.
Use the Weekday(date) or WeekdayName(date) function to see if the user entered a date that corresponds to a weekend day.

Configuring VB6 with VSS 2005

I have configured VB6 with VSS 2005, following functionality working fine :
Check In and Check Out of code
Get Latest Version
Showing error when code Check Out by another user.
Showing error if use try to edit code without Check In ( only when user takes latest version)
Difference I am finding in VB.Net and VB6 configuration with VSS are :
Code not getting Check In automatically when user try to edit code, without Check In Code.
Not allowing user to save changes and Check In code later after 1 or 2 days. User require Check In code before closing code.
Showing "Path/File access error:" for .vbp file.When user tries to save code on machine.
Allowing user to edit code without Check in when user opens the code first time.
I did all the settings mentioned in this link.
As MarkJ mentioned the vbp file is always saved when the application runs. You can cancel out of the dialog to run the project anyway but this is more hassle than just right clicking on the project root and checking out.
I am using Team Foundation Server with my VB6 projects and there is no auto check out in this either. I'm afraid you will have to live with it until you port the code the .NET
As I mentioned heredead link: WayBack version there is also a problem when you have some files or documents not in SourceSafe.
Specifically (as I still document here), when some of the files of a project are not associated with SourceSafe often no files have their SourceSafe status glyphs displayed.
The workaround I found was displaying the Add Files dialogue and then cancelling it. I offer my public domain add-in that automatically implements this workaround.
And BTW, make sure you install the latest VSS Service Pack.

how to suppress the enoying dialog boxes when developing xPages?

Anyone know how to remove or supress the enoying dialog boxes when developing xPages
If you are just making small xpages application you might not see these very often, but the more complex your xPages get you see these all the time. specially when you navigate your xpage using the outline view or during build
I click the x several times every day to get rid of it, Not sure if the operation quits when I click the x or if it continues in the background.
I would like a setting to get rid of it once and for all
Well, in your designer, you should disable Build automatically in the Project menu. This will remove the constant build, but also means that you have to build manually, when needed.
You could also take a look at Nathan T. Freeman's post on the matter # Making Domino Designer work like you want
Are you using any java libraries added to the webinf/lib dir in your nsf? I noticed that when adding any jar files to the lib dir rebuilding your application can take ages..
I had 2 external jar files used in my project (contained within the database). It used to take around 5-10 minutes to compile the project. Any changes to the XPages/Custom Control/Java files needs a recompile. And you can imagine the frustration I had with the compilation time. Later I detached the jar files and put under the jvm\lib\ext folder. The compilation time drastically reduced to 1 minute. Still not happy.
As a next step, took a local replica of the database and started making the changes and recompilation on the local replica. Once done, replicated the databases and always previewed the changes on the server version. The compilation time is hardly 10 seconds. So 10 minutes to 10 seconds :)
Switch off build automatically, it will solve most of these.
There is also a known issue SPR SODY8Q9KNA where Java Design elements (new feature in 8.5.3) keep getting rebuilt on designer start up. That brings up the same pop-up.
There should be a fix for that in 8.5.3FP1 but I am not in an official position to say it will be in FP1 until it actually ships. You can check in the release notes as they are updated.
http://www-10.lotus.com/ldd/r5fixlist.nsf/(Progress)/853%20FP1