Test scripts for Sharepoint - sharepoint-2010

i am new in the SharePoint worlds and I am asked to create a list of items (document libraries , lists , etc... ) that needs to be checked every time security patches are installed ? later,I will be creating a script to see if something went wrong during the installation.
Thanks

Related

Putting a new, updated PrestaShop site live

I need some best-practice advice for how best to go-live with a new PrestaShop store.
The background: we have been working on a new store, with new core (PrestaShop version) and new design (updated theme).
Next: very soon, we need to put this store live, but we already have a live (and active) PrestaShop store.
So, what is the best approach to get this new store live?
Of concern are the changes to the current live version whilst the new one has been developed - content, orders, accounts etc which need to persist.
FYI we have full server access with cPanel, SSH etc.
Many thanks!
Set the current live site in Maintenance for a few hours at a time when you have less visitors: use a module like [MigrationPro][1]
[1]: https://addons.prestashop.com/en/data-migration-backup/8934-migrationpro-prestashop-upgrade-and-migrate-tool.html or look for some free scripts on Prestashop forum->Free modules section (although I recommend the module above; not affiliated with them just used it several times).
Migrate the data, check if everything alright and if it is, just move elsewhere (as a backup) the files in the web directory and move there the new shop files (set the new shop on maintenance too).
Clear all caches, test it the set it online.
My opinion is:
Putting the main site in maintenance mode
Moving the main site to a new test address
Upgrading the test site in the new address to the desired version of Prestashop
Getting output from the desired template (your custom theme) and importing it on the test site
If there is no problem, you can move the test site to the main site (files and databases) or do the same thing again on the main site.
You need to start a process and create documentation.
Create a copy of the live shop folders and database to a new address like /test.
Upgrade your test shop to the new version 1.7.6.5.
Start moving your theme and modules from your new store to the upgraded test shop.
Create documentation of every change. like moving files, moving modules DB tables, and more.
Create a backup of your current live shop.
Repeat 1-3 steps and follow your documentation in your live shop.
I think you can move everything in a few hours if you have a step by step guide.

Nintex / SharePoint upgrade

My team is embarking on moving from SharePoint 2010 to SharePoint 2016 with Nintex. They want to move content on an individual basis.
However, we also need to move running workflows and keep these intact.
What's the process of moving Nintex workflows and lists from SP2010 to a SharePoint 2016 environment?
Need to ensure the workflows/lists remain with the correct status
Thanks
You cannot move running workflows in SharePoint. The best suggestion is to pause or end the workflow, save the status and then kick them off after you move them. I recommend trying to complete whatever process is running before moving that content or workflow. This means scheduling the migration around business processes or informing your users that SharePoint will be down for a period of time. You can also copy the workflow and list over to the new site and have users start using that one while you wind down the old site. A tool like Sharegate is good for this type of stuff.

Creating a script that will automate filling out a form on an ad website

I would like to create a script that would help me automate filling out a form on a website. Here is a basic idea that I came up with. The website consists of 5 stages.
Selecting a category and a group of an item
Adding the item. It consists of a title, price, etc...
Selecting the visibility
Finish putting out an ad by clicking I accept.
Deleting the previous ad of the same product
So basically what I had in mind was to sort all of my items in subfolders, each subfolder would contain an image of the item along with an info.txt file. The info.txt file would contain all the information that would be needed for filling out the form (for example title, price, text of the ad, etc...). Using these subfolders and .txt files I'd like to create a script that could help me add my items and fill out a from on an ad-based website.
So my question is: How to do this, what language/script should I use?
I would recommend taking a look at Selenium or PhantomJS. These tools are normally used for running unit tests for web apps in the browser, but I have used them before to do automated stuff on some websites as well. Selenium and PhantomJS are both operated by programming languages.
If you prefer a more simple approach and don't mind using proprietary apps, you could take a look at iMacros, although I am not sure if reading files is easy when using iMacros.

SharePoint Integrated Reports missing drop down to manage data sources

I have installed and configured SSRS using SharePoint integrated deployment mode and have been able to successfully run a report from SharePoint. I created a custom deployment application that will upload all reports and datasets as well as create all data sources and make the proper connections between them when necessary.
I have one report that failed and I need to manually mess with the reports connection to a data source but I found that the drop down does not contain the options to let me manage its shared data sources (see example below).
In this image you can see the option that I am missing. Please excuse the colors, this is the best image I could find online in a pinch.
This is only happening in one environment so there must be a configuration change I am not thinking of to show these options. Here are the things I have already checked:
The account I am using is in the sites Owners group and has full control of everything, including the report file.
The item is being uploaded as a Document content type for some reason, but I edited properties and changed that to Report Builder Report content type.
The Report Server Integration site collection feature has been activated.
All of the Reporting Service content types have been added to the list.
I would revert to deployment from BIDS to debug this issue. It will perform some validation during that process and possibly return meaningful errors.
So this turned out to be caused by one of our customizations. We had an old custom javascript function that was named the same as a SharePoint javascript function that has something to do with those drop down actions. Hope this helps someone else.

How to find who put the sharepoint site collection in READ only mode in Sharepoint 2010

I have one sharepoint2010 site. Suddenly i saw today that site has been put into READ only mode. How to audit, who has done this. I want to know who put the site into READ only mode(through CA->Site quotas and locks). Is there any way to find? (through powershell command, SPD, Database or through anyother things)
Thanks
Sivakumar. P