adarsh12in Posted May 14, 2013 Share Posted May 14, 2013 (edited) hi how can i log in to Primavera (P6r7) using autoIT? then i need to run a batch report under 'Reports' tab. l let me know how can i automate this. regards adarsh Edited May 14, 2013 by adarsh12in Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted May 17, 2013 Moderators Share Posted May 17, 2013 ardash12in, I have received reports that you are PMing members seeking support - do NOT do this again. I suggest you read the Forum rules (there is also a link at bottom right of each page) - particularly the bit that says: "Do not PM other users asking for support - that is why the forum exists, so post there instead" Remember this is not a 24/7 support forum - those who answer are only here because they like helping others and have some time to spare. You just have to wait until someone who knows something about your particular problem, and is willing to help, comes online. Be patient and someone will answer eventually. Or if not - tough! M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
mrflibblehat Posted May 17, 2013 Share Posted May 17, 2013 A good idea to get help is to be more generic, What specifically are you having an issue with? What is Primavera? It would be a good idea to have a look at creating something yourself first, or at least trying to. Then maybe more people can help [font="'courier new', courier, monospace;"]Pastebin UDF | Prowl UDF[/font] Link to comment Share on other sites More sharing options...
adarsh12in Posted May 21, 2013 Author Share Posted May 21, 2013 we should also have an option below saying - don't like the solution. If people can't help, then no point having the forums. if I had all the answers, why would i have posted the doubt at all. Not helpful at all. Link to comment Share on other sites More sharing options...
jdelaney Posted May 21, 2013 Share Posted May 21, 2013 (edited) use the _IE* functions...first click on link with id = ms__id928 _IEFormElementSetValue put your user into username input with id = user_login _IEFormElementSetValue put your password into input id = user_password _ieaction "click" id = login_from_loginpage _iecreate _ienavigate _IEGetObjById Next time, state what the application is (window vs browser). Why should I have to google what you are attempting to login to? Maybe add a screen shot, so people can give you good advice without fneeding ollowup questions. I don't have an account, so can't help you past that...use a dom spy to find out what your object is you have to interact with...such as ie developer tools Edited May 21, 2013 by jdelaney adarsh12in 1 IEbyXPATH-Grab IE DOM objects by XPATH IEscriptRecord-Makings of an IE script recorder ExcelFromXML-Create Excel docs without excel installed GetAllWindowControls-Output all control data on a given window. Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted May 21, 2013 Moderators Share Posted May 21, 2013 adarsh12in, How on earth do you expect to get any useful help with so littel information? You assume we all know what Primavera is - from Googling I assume you mean the project managing software, but I am not sure. And then how many people here do you think have access to the software and can just run it to see exactly what GUI elements the login actions? So, as mentioned above, you need to give us a lot more information if you want help. And please lose the attitude - it will not make anyone more likely to help you, but I am sure you know that already. M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
Bert Posted May 21, 2013 Share Posted May 21, 2013 I know what Primavera is. It is a web based app used to track projects. The logon part - not hard to do. jdelaney's post is the way to go on this. The part where he wants to run the report automatically - I'm not an expert at the application (I don't use it personally but I know many people who do) I would think all we are talking about is populating a few fields to filter the report you want then running it. Again - the IE tools in AutoIt are the way to go. Look at the examples in the help file and it is pretty straight forward on how to do it. At this point the OP has to put in some effort on coding it. The Vollatran project My blog: http://www.vollysinterestingshit.com/ Link to comment Share on other sites More sharing options...
adarsh12in Posted May 22, 2013 Author Share Posted May 22, 2013 thanks jdelaney. This is windows based Project Mgmt tool. the EXE is located at C:Program FilesOraclePrimavera P6Project Management. Link to comment Share on other sites More sharing options...
Bert Posted May 22, 2013 Share Posted May 22, 2013 You have the GUI based version? I haven't seen that one. The Vollatran project My blog: http://www.vollysinterestingshit.com/ Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now